public interface ClientRedirectService
Modifier and Type | Method and Description |
---|---|
boolean |
canRedirectToUrl(String redirectUrl,
String clientId)
Checks if the user is able to be redirected to the given redirect URL
|
String |
getDefaultRedirectUrlForClientId(String clientId)
Used for returning the default redirect URL for the provided client
|
String getDefaultRedirectUrlForClientId(@Nullable String clientId)
clientId
- The String id of the client to resolve the redirect URL forboolean canRedirectToUrl(String redirectUrl, String clientId)
redirectUrl
- The URL to check againstclientId
- The id of the AuthorizedClient
to use for validating the URLCopyright © 2021. All rights reserved.