Click or drag to resize
AuthorizationAuthenticateAsync Method
Authenticates a user with the given credentials against the service using the scheme specified in the AuthenticationType property. The user remains logged in until LogoutAsync() is called or until the token returned by the service expires and requires a fresh authentication.

Namespace: Oracle.Cloud.Mobile.Authorization
Assembly: Oracle.Cloud.Mobile (in Oracle.Cloud.Mobile.dll) Version: 16.1.3.1 (16.1.3.1)
Syntax
public abstract Task<bool> AuthenticateAsync(
	string userName = "",
	string password = ""
)

Parameters

userName (Optional)
Type: SystemString
The username to use for authentication.
password (Optional)
Type: SystemString
The user's password.

Return Value

Type: TaskBoolean
True if the authentication was successful, false otherwise.
See Also