Authorization Methods |
The Authorization type exposes the following members.
Name | Description | |
---|---|---|
![]() | AuthenticateAnonymousAsync |
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.
|
![]() | AuthenticateAsync |
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.
|
![]() | ClearCachedCredentials |
Clears any credentials cached in the Windows PasswordVault.
|
![]() | CreateHttpFilter |
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.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetCurrentUserAsync |
Returns the user resource associated with the logged in user.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | LogoutAsync |
Logs out the current user and clears cached credentials and tokens.
|
![]() | LogoutAsync(Boolean) |
Logs out the current user.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RefreshTokenAsync |
Refreshes the authentication token if it has expired. The authentication scheme should support refresh.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |