Package-level declarations

Types

Link copied to clipboard

Checks the presence of the named Api Key parameter. Filter returns 401 if Api-Key is not found in request.

Link copied to clipboard
class AuthCodeOAuthSecurity(val authorizationUrl: Uri, val tokenUrl: Uri, val scopes: List<OAuthScope> = emptyList(), val filter: Filter, val name: String = "oauthSecurityAuthCode", val refreshUrl: Uri? = null, val extraFields: Map<String, String> = emptyMap()) : OAuthSecurity
Link copied to clipboard
Link copied to clipboard
class BearerAuthSecurity(val filter: Filter, val name: String = "bearerAuth") : Security

Checks the presence of bearer auth credentials. Filter returns 401 if auth fails.

Link copied to clipboard
class ImplicitOAuthSecurity(val authorizationUrl: Uri, val scopes: List<OAuthScope> = emptyList(), val filter: Filter, val name: String = "oauthSecurityImplicit", val refreshUrl: Uri? = null, val extraFields: Map<String, String> = emptyMap()) : OAuthSecurity
Link copied to clipboard

Default NoOp security filter. Filter allows all traffic through.

Link copied to clipboard
data class OAuthScope(val name: String, val description: String = name)
Link copied to clipboard
sealed class OAuthSecurity : Security
Link copied to clipboard
class OpenIdConnectSecurity(val discoveryUrl: Uri, val filter: Filter, val name: String = "openIdConnect") : Security
Link copied to clipboard
interface Security

Endpoint security. Provides filter to be applied to endpoints for all requests.

Link copied to clipboard
class UserCredentialsOAuthSecurity(val tokenUrl: Uri, val scopes: List<OAuthScope> = emptyList(), val filter: Filter = Filter.NoOp, val name: String = "oauthSecurityUserCredentials", val refreshUrl: Uri? = null, val extraFields: Map<String, String> = emptyMap()) : OAuthSecurity

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard