Package io.trino.server.security.oauth2
Record Class OAuth2ServerConfigProvider.OAuth2ServerConfig
java.lang.Object
java.lang.Record
io.trino.server.security.oauth2.OAuth2ServerConfigProvider.OAuth2ServerConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccessTokenIssuerrecord component.authUrl()Returns the value of theauthUrlrecord component.Returns the value of theendSessionUrlrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.jwksUrl()Returns the value of thejwksUrlrecord component.tokenUrl()Returns the value of thetokenUrlrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserinfoUrlrecord component.
-
Constructor Details
-
OAuth2ServerConfig
public OAuth2ServerConfig(Optional<String> accessTokenIssuer, URI authUrl, URI tokenUrl, URI jwksUrl, Optional<URI> userinfoUrl, Optional<URI> endSessionUrl) Creates an instance of aOAuth2ServerConfigrecord class.- Parameters:
accessTokenIssuer- the value for theaccessTokenIssuerrecord componentauthUrl- the value for theauthUrlrecord componenttokenUrl- the value for thetokenUrlrecord componentjwksUrl- the value for thejwksUrlrecord componentuserinfoUrl- the value for theuserinfoUrlrecord componentendSessionUrl- the value for theendSessionUrlrecord 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). -
accessTokenIssuer
-
authUrl
Returns the value of theauthUrlrecord component.- Returns:
- the value of the
authUrlrecord component
-
tokenUrl
Returns the value of thetokenUrlrecord component.- Returns:
- the value of the
tokenUrlrecord component
-
jwksUrl
Returns the value of thejwksUrlrecord component.- Returns:
- the value of the
jwksUrlrecord component
-
userinfoUrl
-
endSessionUrl
-