001package com.nimbusds.openid.connect.provider.spi.secrets; 002 003 004import com.nimbusds.jose.jwk.JWKSet; 005import com.nimbusds.openid.connect.provider.spi.InvocationContext; 006import com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata; 007 008 009/** 010 * Client secret codec context. 011 */ 012public interface SecretCodecContext extends InvocationContext { 013 014 015 /** 016 * Returns the issuer JWK set. Can be used to obtain configured server 017 * key(s) to perform symmetric encryption on the client secret. 018 * 019 * @return The issuer JWK set. 020 */ 021 JWKSet getIssuerJWKSet(); 022 023 024 /** 025 * Returns the metadata of the associated OAuth 2.0 / OpenID Connect 026 * client. 027 * 028 * @return The client metadata. 029 */ 030 OIDCClientMetadata getOIDCClientMetadata(); 031}