public class ClientAuthorizationRequiredException extends OAuth2ClientException
OAuth2AuthorizedClient
,
Serialized FormConstructor and Description |
---|
ClientAuthorizationRequiredException(java.lang.String clientRegistrationId)
Constructs a
ClientAuthorizationRequiredException using the provided parameters. |
ClientAuthorizationRequiredException(java.lang.String clientRegistrationId,
java.lang.String message)
Constructs a
ClientAuthorizationRequiredException using the provided parameters. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClientRegistrationId()
Returns the identifier for the client's registration.
|
public ClientAuthorizationRequiredException(java.lang.String clientRegistrationId)
ClientAuthorizationRequiredException
using the provided parameters.clientRegistrationId
- the identifier for the client's registrationpublic ClientAuthorizationRequiredException(java.lang.String clientRegistrationId, java.lang.String message)
ClientAuthorizationRequiredException
using the provided parameters.clientRegistrationId
- the identifier for the client's registrationmessage
- the detail message