001package com.nimbusds.openid.connect.provider.spi.reg; 002 003 004import com.nimbusds.openid.connect.provider.spi.InvocationContext; 005import com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata; 006 007 008/** 009 * OAuth 2.0 client / OpenID relying party metadata validator context. 010 */ 011public interface ValidatorContext extends InvocationContext { 012 013 014 /** 015 * Returns the type of authorisation credential used at the OAuth 2.0 016 * client registration endpoint. 017 * 018 * @return The authorisation credential type. Not {@code null}. 019 */ 020 AuthorizationCredentialType getAuthorizationCredentialType(); 021 022 023 /** 024 * Returns the OAuth 2.0 client / OpenID relying party metadata as 025 * received at the client registration endpoint. 026 * 027 * @return The received metadata. Not {@code null}. 028 */ 029 OIDCClientMetadata getReceivedMetadata(); 030}