Click or drag to resize

OAuthClientCoreAuthenticateUser Method

Authenticate a user using the username and password

Namespace: SanteDB.Client.OAuth
Assembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntax
public virtual IClaimsPrincipal AuthenticateUser(
	string username,
	string password,
	string clientId = null,
	string tfaSecret = null,
	IEnumerable<IClaim> clientClaims = null,
	IEnumerable<string> scopes = null
)

Parameters

username  String

[Missing <param name="username"/> documentation for "M:SanteDB.Client.OAuth.OAuthClientCore.AuthenticateUser(System.String,System.String,System.String,System.String,System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim},System.Collections.Generic.IEnumerable{System.String})"]

password  String

[Missing <param name="password"/> documentation for "M:SanteDB.Client.OAuth.OAuthClientCore.AuthenticateUser(System.String,System.String,System.String,System.String,System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim},System.Collections.Generic.IEnumerable{System.String})"]

clientId  String  (Optional)

[Missing <param name="clientId"/> documentation for "M:SanteDB.Client.OAuth.OAuthClientCore.AuthenticateUser(System.String,System.String,System.String,System.String,System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim},System.Collections.Generic.IEnumerable{System.String})"]

tfaSecret  String  (Optional)

[Missing <param name="tfaSecret"/> documentation for "M:SanteDB.Client.OAuth.OAuthClientCore.AuthenticateUser(System.String,System.String,System.String,System.String,System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim},System.Collections.Generic.IEnumerable{System.String})"]

clientClaims  IEnumerableIClaim  (Optional)

[Missing <param name="clientClaims"/> documentation for "M:SanteDB.Client.OAuth.OAuthClientCore.AuthenticateUser(System.String,System.String,System.String,System.String,System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim},System.Collections.Generic.IEnumerable{System.String})"]

scopes  IEnumerableString  (Optional)

[Missing <param name="scopes"/> documentation for "M:SanteDB.Client.OAuth.OAuthClientCore.AuthenticateUser(System.String,System.String,System.String,System.String,System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim},System.Collections.Generic.IEnumerable{System.String})"]

Return Value

IClaimsPrincipal

[Missing <returns> documentation for "M:SanteDB.Client.OAuth.OAuthClientCore.AuthenticateUser(System.String,System.String,System.String,System.String,System.Collections.Generic.IEnumerable{SanteDB.Core.Security.Claims.IClaim},System.Collections.Generic.IEnumerable{System.String})"]

Implements

IOAuthClientAuthenticateUser(String, String, String, String, IEnumerableIClaim, IEnumerableString)
See Also