Click or drag to resize
Authentication Class
Functions for handling authentication.
Inheritance Hierarchy
SystemObject
  BlackBerry.Workspaces.ResourceAuthentication

Namespace:  BlackBerry.Workspaces.Resource
Assembly:  BlackBerryWorkspacesSDK (in BlackBerryWorkspacesSDK.dll) Version: 7.0.0.223 (7.0.0.223)
Syntax
C#
public class Authentication

The Authentication type exposes the following members.

Constructors
  NameDescription
Public methodAuthentication
Initializes a new instance of the Authentication class
Top
Methods
  NameDescription
Public methodAuthorizeOAuth2V30
Get authorization code. This method is used as part of authenticating using the OAuth2 protocol. This method redirect the call to the signin page.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetAuthenticationParametersV30
Gets the method used to authenticate the user session, whether with the BlackBerry Workspaces servers or with an oauth2 server.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOIDCPublicKeyV30
Account Registration status
Public methodGetOrRefreshAccessTokenByPostV30
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.
Public methodGetOrRefreshAccessTokenV30
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.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUsernamePasswordAccountCreationStatusV30
Account Registration status
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also