Record Class MiniStackAuthProxy.Config
java.lang.Object
java.lang.Record
com.cloudforgeci.ministack.MiniStackAuthProxy.Config
- Enclosing class:
MiniStackAuthProxy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorizationEndpointrecord 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.intReturns the value of thelistenPortrecord component.Returns the value of theredirectUrirecord component.Returns the value of thetokenEndpointrecord component.final StringtoString()Returns a string representation of this record class.upstream()Returns the value of theupstreamrecord component.
-
Constructor Details
-
Config
public Config(int listenPort, URI upstream, String authorizationEndpoint, URI tokenEndpoint, String clientId, String clientSecret, URI redirectUri) Creates an instance of aConfigrecord class.- Parameters:
listenPort- the value for thelistenPortrecord componentupstream- the value for theupstreamrecord componentauthorizationEndpoint- the value for theauthorizationEndpointrecord componenttokenEndpoint- the value for thetokenEndpointrecord componentclientId- the value for theclientIdrecord componentclientSecret- the value for theclientSecretrecord componentredirectUri- the value for theredirectUrirecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
listenPort
public int listenPort()Returns the value of thelistenPortrecord component.- Returns:
- the value of the
listenPortrecord component
-
upstream
Returns the value of theupstreamrecord component.- Returns:
- the value of the
upstreamrecord component
-
authorizationEndpoint
Returns the value of theauthorizationEndpointrecord component.- Returns:
- the value of the
authorizationEndpointrecord component
-
tokenEndpoint
Returns the value of thetokenEndpointrecord component.- Returns:
- the value of the
tokenEndpointrecord 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
-
redirectUri
Returns the value of theredirectUrirecord component.- Returns:
- the value of the
redirectUrirecord component
-