Class HttpContextIdentityModelRemoteServiceHttpClientAuthenticator
Inheritance
System.Object
HttpContextIdentityModelRemoteServiceHttpClientAuthenticator
Implements
ITransientDependency
Assembly: Volo.Abp.Http.Client.IdentityModel.Web.dll
Syntax
public class HttpContextIdentityModelRemoteServiceHttpClientAuthenticator : IdentityModelRemoteServiceHttpClientAuthenticator, IRemoteServiceHttpClientAuthenticator, ITransientDependency
Constructors
HttpContextIdentityModelRemoteServiceHttpClientAuthenticator(IIdentityModelAuthenticationService)
Declaration
public HttpContextIdentityModelRemoteServiceHttpClientAuthenticator(IIdentityModelAuthenticationService identityModelAuthenticationService)
Parameters
| Type |
Name |
Description |
| IIdentityModelAuthenticationService |
identityModelAuthenticationService |
|
Properties
HttpContextAccessor
Declaration
public IHttpContextAccessor HttpContextAccessor { get; set; }
Property Value
| Type |
Description |
| IHttpContextAccessor |
|
Methods
Authenticate(RemoteServiceHttpClientAuthenticateContext)
Declaration
public override Task Authenticate(RemoteServiceHttpClientAuthenticateContext context)
Parameters
| Type |
Name |
Description |
| RemoteServiceHttpClientAuthenticateContext |
context |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
GetAccessTokenFromHttpContextOrNullAsync()
Declaration
protected virtual Task<string> GetAccessTokenFromHttpContextOrNullAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.String> |
|
Implements
ITransientDependency
Extension Methods