|
ISecurityServiceAuthenticate Method
|
Authenticates a user and caches the security context upon successful authentication for subsequent use.
Namespace: GSF.Web.EmbeddedAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.248-beta
Syntax[WebGetAttribute(UriTemplate = "/authenticate?username={username}&password={password}")]
[OperationContractAttribute]
UserData Authenticate(
string username,
string password
)
<WebGetAttribute(UriTemplate := "/authenticate?username={username}&password={password}")>
<OperationContractAttribute>
Function Authenticate (
username As String,
password As String
) As UserData
[WebGetAttribute(UriTemplate = L"/authenticate?username={username}&password={password}")]
[OperationContractAttribute]
UserData^ Authenticate(
String^ username,
String^ password
)
[<WebGetAttribute(UriTemplate = "/authenticate?username={username}&password={password}")>]
[<OperationContractAttribute>]
abstract Authenticate :
username : string *
password : string -> UserData
function Authenticate(username, password);
View SourceParameters
- username String
- Username of the user.
- password String
- Password of the user.
Return Value
UserDataAn
UserData object of the user.
See Also