Authentication Class |
Namespace: BlackBerry.Workspaces.Resource
public class Authentication
The Authentication type exposes the following members.
Name | Description | |
---|---|---|
Authentication | Initializes a new instance of the Authentication class |
Name | Description | |
---|---|---|
AuthorizeOAuth2V30 |
Get authorization code. This method is used as part of authenticating
using the OAuth2 protocol. This method redirect the call to the signin
page.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetAuthenticationParametersV30 |
Gets the method used to authenticate the user session, whether with the
BlackBerry Workspaces servers or with an oauth2 server.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetOIDCPublicKeyV30 |
Account Registration status
| |
GetOrRefreshAccessTokenByPostV30 |
Gets or refreshes an Access token by using POST. This method is used as
part of authenticating using the OAuth2 protocol. After initially
authenticating a a user, this method can be used to obtain an Access
token and a Refresh token using the "code" returned on the redirect URL.
If an application had previously retrieved an Access token and Refresh
token, and the Access token expires, this method can be used to obtain a
fresh set of tokens by passing the Refresh token obtained previously.
| |
GetOrRefreshAccessTokenV30 |
Get or refresh an Access token. This method is used as part of
authenticating using the OAuth2 protocol. After initially authenticating
a a user, this method can be used to obtain an Access token and a
Refresh token using the "code" returned on the redirect URL. If an
application had previously retrieved an Access token and Refresh token,
and the Access token expires, this method can be used to obtain a fresh
set of tokens by passing the Refresh token obtained previously.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUsernamePasswordAccountCreationStatusV30 |
Account Registration status
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |