Package | Description |
---|---|
org.springframework.security.oauth2.server.authorization.client |
Modifier and Type | Method and Description |
---|---|
RegisteredClient.Builder | RegisteredClient.Builder.authorizationGrantType(AuthorizationGrantType authorizationGrantType) Adds an authorization grant type the client may use. |
RegisteredClient.Builder | RegisteredClient.Builder.authorizationGrantTypes(Consumer<Set<AuthorizationGrantType>> authorizationGrantTypesConsumer) A Consumer of the authorization grant type(s) allowing the ability to add, replace, or remove. |
RegisteredClient.Builder | RegisteredClient.Builder.clientAuthenticationMethod(ClientAuthenticationMethod clientAuthenticationMethod) Adds an authentication method the client may use when authenticating with the authorization server. |
RegisteredClient.Builder | RegisteredClient.Builder.clientAuthenticationMethods(Consumer<Set<ClientAuthenticationMethod>> clientAuthenticationMethodsConsumer) A Consumer of the authentication method(s) allowing the ability to add, replace, or remove. |
RegisteredClient.Builder | RegisteredClient.Builder.clientId(String clientId) Sets the client identifier. |
RegisteredClient.Builder | RegisteredClient.Builder.clientSecret(String clientSecret) Sets the client secret. |
RegisteredClient.Builder | RegisteredClient.Builder.id(String id) Sets the identifier for the registration. |
RegisteredClient.Builder | RegisteredClient.Builder.redirectUri(String redirectUri) Adds a redirect URI the client may use in a redirect-based flow. |
RegisteredClient.Builder | RegisteredClient.Builder.redirectUris(Consumer<Set<String>> redirectUrisConsumer) A Consumer of the redirect URI(s) allowing the ability to add, replace, or remove. |
RegisteredClient.Builder | RegisteredClient.Builder.scope(String scope) Adds a scope the client may use. |
RegisteredClient.Builder | RegisteredClient.Builder.scopes(Consumer<Set<String>> scopesConsumer) A Consumer of the scope(s) allowing the ability to add, replace, or remove. |
static RegisteredClient.Builder | RegisteredClient.withId(String id) Returns a new RegisteredClient.Builder , initialized with the provided registration identifier. |
static RegisteredClient.Builder | RegisteredClient.withRegisteredClient(RegisteredClient registeredClient) Returns a new RegisteredClient.Builder , initialized with the provided RegisteredClient . |