OAuth2ClientDsl

A Kotlin DSL to configure HttpSecurity OAuth 2.0 client support using idiomatic Kotlin code.

Author

Eleftheria Stein

Since

5.3

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var authorizedClientRepository: OAuth2AuthorizedClientRepository?

the repository for authorized client(s).

Link copied to clipboard
var authorizedClientService: OAuth2AuthorizedClientService?

the service for authorized client(s).

Link copied to clipboard
var clientRegistrationRepository: ClientRegistrationRepository?

the repository of client registrations.

Functions

Link copied to clipboard
fun authorizationCodeGrant(authorizationCodeGrantConfig: AuthorizationCodeGrantDsl.() -> Unit)

Configures the OAuth 2.0 Authorization Code Grant.