Skip to main content

IAuthServiceKeysProvider Interface

Abblix.Oidc.Server

Abblix.Oidc.Server.Common.Interfaces

IAuthServiceKeysProvider Interface

Provides the keys of the OpenID Connect service to encrypt and sign JWT tokens issued by it.

public interface IAuthServiceKeysProvider

Methods

IAuthServiceKeysProvider.GetEncryptionKeys(bool) Method

Gets the encryption keys used by the service.

System.Collections.Generic.IAsyncEnumerable<Abblix.Jwt.JsonWebKey> GetEncryptionKeys(bool includePrivateKeys=false);

Parameters

includePrivateKeys System.Boolean

Whether to include private keys in the result.

Returns

System.Collections.Generic.IAsyncEnumerable<JsonWebKey>

IAuthServiceKeysProvider.GetSigningKeys(bool) Method

Gets the signing keys used by the service.

System.Collections.Generic.IAsyncEnumerable<Abblix.Jwt.JsonWebKey> GetSigningKeys(bool includePrivateKeys=false);

Parameters

includePrivateKeys System.Boolean

Whether to include private keys in the result.

Returns

System.Collections.Generic.IAsyncEnumerable<JsonWebKey>