ServerOAuth2ResourceServerDsl

A Kotlin DSL to configure ServerHttpSecurity OAuth 2.0 resource server using idiomatic Kotlin code.

Author

Eleftheria Stein

Since

5.4

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var accessDeniedHandler: ServerAccessDeniedHandler?

the ServerAccessDeniedHandler to use for requests authenticating with Bearer Tokens.

Link copied to clipboard
var authenticationEntryPoint: ServerAuthenticationEntryPoint?

the ServerAuthenticationEntryPoint to use for requests authenticating with Bearer Tokens.

Link copied to clipboard
var authenticationFailureHandler: ServerAuthenticationFailureHandler?
Link copied to clipboard
var authenticationManagerResolver: ReactiveAuthenticationManagerResolver<ServerWebExchange>?

the ReactiveAuthenticationManagerResolver to use.

Link copied to clipboard
var bearerTokenConverter: ServerAuthenticationConverter?

the ServerAuthenticationConverter to use for requests authenticating with Bearer Tokens.

Functions

Link copied to clipboard
fun jwt(jwtConfig: ServerJwtDsl.() -> Unit)

Enables JWT-encoded bearer token support.

Link copied to clipboard
fun opaqueToken(opaqueTokenConfig: ServerOpaqueTokenDsl.() -> Unit)

Enables opaque token support.