Package io.quarkus.oidc
Record Class OidcRedirectFilter.OidcRedirectContext
java.lang.Object
java.lang.Record
io.quarkus.oidc.OidcRedirectFilter.OidcRedirectContext
- Enclosing interface:
- OidcRedirectFilter
public static record OidcRedirectFilter.OidcRedirectContext(io.vertx.ext.web.RoutingContext routingContext, OidcTenantConfig oidcTenantConfig, String redirectUri, io.vertx.core.MultiMap additionalQueryParams)
extends Record
OIDC redirect context which provides access to the routing context, current OIDC tenant configuration, redirect uri
and additional query parameters.
The additional query parameters are visible to all OIDC redirect filters. They are URL-encoded and added to
the redirect URI after all the filters have run.
-
Constructor Summary
ConstructorsConstructorDescriptionOidcRedirectContext(io.vertx.ext.web.RoutingContext routingContext, OidcTenantConfig oidcTenantConfig, String redirectUri, io.vertx.core.MultiMap additionalQueryParams) Creates an instance of aOidcRedirectContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.MultiMapReturns the value of theadditionalQueryParamsrecord 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 theoidcTenantConfigrecord component.Returns the value of theredirectUrirecord component.io.vertx.ext.web.RoutingContextReturns the value of theroutingContextrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OidcRedirectContext
public OidcRedirectContext(io.vertx.ext.web.RoutingContext routingContext, OidcTenantConfig oidcTenantConfig, String redirectUri, io.vertx.core.MultiMap additionalQueryParams) Creates an instance of aOidcRedirectContextrecord class.- Parameters:
routingContext- the value for theroutingContextrecord componentoidcTenantConfig- the value for theoidcTenantConfigrecord componentredirectUri- the value for theredirectUrirecord componentadditionalQueryParams- the value for theadditionalQueryParamsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
routingContext
public io.vertx.ext.web.RoutingContext routingContext()Returns the value of theroutingContextrecord component.- Returns:
- the value of the
routingContextrecord component
-
oidcTenantConfig
Returns the value of theoidcTenantConfigrecord component.- Returns:
- the value of the
oidcTenantConfigrecord component
-
redirectUri
Returns the value of theredirectUrirecord component.- Returns:
- the value of the
redirectUrirecord component
-
additionalQueryParams
public io.vertx.core.MultiMap additionalQueryParams()Returns the value of theadditionalQueryParamsrecord component.- Returns:
- the value of the
additionalQueryParamsrecord component
-