Show / Hide Table of Contents

Interface IIdentityServerHttpClient

Abstraction for a typed that will execute the request to the IdentityServer4.

Namespace: Geko.HttpClientService.Infrastructure
Assembly: Geko.HttpClientService.dll
Syntax
public interface IIdentityServerHttpClient

Properties

| Improve this Doc View Source

HttpClientOptionsType

The type of the IIdentityServerOptions implementation

Declaration
Type HttpClientOptionsType { get; }
Property Value
Type Description
Type

Methods

| Improve this Doc View Source

GetCacheKey(IIdentityServerOptions)

Creates a unique key to be used as the cache key of the Identity Server access token, by combining infomration from the access token options object.

Declaration
string GetCacheKey(IIdentityServerOptions options)
Parameters
Type Name Description
IIdentityServerOptions options

The token service options

Returns
Type Description
System.String

Returns a string representing a unique identifier to be used as the caching key.

| Improve this Doc View Source

GetTokenResponseAsync(IIdentityServerOptions)

Retrieves a IdentityModel.Client.TokenResponse from the configured by the options.

Declaration
Task<TokenResponse> GetTokenResponseAsync(IIdentityServerOptions options)
Parameters
Type Name Description
IIdentityServerOptions options

The configuration options for the IdentityServer4.

Returns
Type Description
Task<IdentityModel.Client.TokenResponse>

A IdentityModel.Client.TokenResponse object.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX