Class AllowedUrisConfig
java.lang.Object
com.linecorp.centraldogma.server.auth.AllowedUrisConfig
Configuration for allowed redirect URIs.
-
Constructor Summary
ConstructorsConstructorDescriptionAllowedUrisConfig(List<URI> allowedUris, boolean allowAllUris) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether all redirect URIs are allowed.Returns the list of allowed redirect URIs.booleanisAllowedRedirectUri(@Nullable String returnTo) Returnstrueif the specifiedreturnTois allowed.static AllowedUrisConfigof(@Nullable CorsConfig corsConfig) Creates a new instance from the specifiedCorsConfig.
-
Constructor Details
-
AllowedUrisConfig
-
-
Method Details
-
of
Creates a new instance from the specifiedCorsConfig. -
allowedUris
-
allowAllUris
public boolean allowAllUris()Returns whether all redirect URIs are allowed. -
isAllowedRedirectUri
Returnstrueif the specifiedreturnTois allowed.
-