Record Class ExternalProviderService.ProviderConfigDefinition
java.lang.Object
java.lang.Record
org.chenile.security.auth.framework.contract.ExternalProviderService.ProviderConfigDefinition
- Enclosing interface:
ExternalProviderService
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for theauthorizationUrirecord component.private final StringThe field for theclientIdrecord component.private final StringThe field for theclientSecretrecord component.private final StringThe field for theproviderKeyrecord component.private final AuthProviderTypeThe field for theproviderTyperecord component.private final StringThe field for therealmrecord component.The field for thescopesrecord component.private final StringThe field for thetokenUrirecord component.private final StringThe field for theuserInfoUrirecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorizationUrirecord component.clientId()Returns the value of theclientIdrecord component.Returns the value of theclientSecretrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theproviderKeyrecord component.Returns the value of theproviderTyperecord component.realm()Returns the value of therealmrecord component.scopes()Returns the value of thescopesrecord component.tokenUri()Returns the value of thetokenUrirecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserInfoUrirecord component.
-
Field Details
-
realm
The field for therealmrecord component. -
providerKey
The field for theproviderKeyrecord component. -
providerType
The field for theproviderTyperecord component. -
clientId
The field for theclientIdrecord component. -
clientSecret
The field for theclientSecretrecord component. -
authorizationUri
The field for theauthorizationUrirecord component. -
tokenUri
The field for thetokenUrirecord component. -
userInfoUri
The field for theuserInfoUrirecord component. -
scopes
-
-
Constructor Details
-
ProviderConfigDefinition
public ProviderConfigDefinition(String realm, String providerKey, AuthProviderType providerType, String clientId, String clientSecret, String authorizationUri, String tokenUri, String userInfoUri, List<String> scopes) Creates an instance of aProviderConfigDefinitionrecord class.- Parameters:
realm- the value for therealmrecord componentproviderKey- the value for theproviderKeyrecord componentproviderType- the value for theproviderTyperecord componentclientId- the value for theclientIdrecord componentclientSecret- the value for theclientSecretrecord componentauthorizationUri- the value for theauthorizationUrirecord componenttokenUri- the value for thetokenUrirecord componentuserInfoUri- the value for theuserInfoUrirecord componentscopes- the value for thescopesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
realm
Returns the value of therealmrecord component.- Returns:
- the value of the
realmrecord component
-
providerKey
Returns the value of theproviderKeyrecord component.- Returns:
- the value of the
providerKeyrecord component
-
providerType
Returns the value of theproviderTyperecord component.- Returns:
- the value of the
providerTyperecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
clientSecret
Returns the value of theclientSecretrecord component.- Returns:
- the value of the
clientSecretrecord component
-
authorizationUri
Returns the value of theauthorizationUrirecord component.- Returns:
- the value of the
authorizationUrirecord component
-
tokenUri
Returns the value of thetokenUrirecord component.- Returns:
- the value of the
tokenUrirecord component
-
userInfoUri
Returns the value of theuserInfoUrirecord component.- Returns:
- the value of the
userInfoUrirecord component
-
scopes
-
CHENILE