Click or drag to resize
Authorization Methods

The Authorization type exposes the following members.

Methods
  NameDescription
Public methodAuthenticateAnonymousAsync
Authenticates an anonymous user 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.
Public methodAuthenticateAsync
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.
Public methodClearCachedCredentials
Clears any credentials cached in the Windows PasswordVault.
Public methodCreateHttpFilter
Creates a new instance of IHttpFilter that callers can use with an HttpClient object to add auth headers to service calls. The filter can be chained with other IHttpFilter objects. If no other filter is provided then HttpBaseProtocolFilter will be used.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCurrentUserAsync
Returns the user resource associated with the logged in user.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLogoutAsync
Logs out the current user and clears cached credentials and tokens.
Public methodLogoutAsync(Boolean)
Logs out the current user.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRefreshTokenAsync
Refreshes the authentication token if it has expired. The authentication scheme should support refresh.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also