Package-level declarations
Types
Link copied to clipboard
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, scopes: List<OAuthScope> = emptyList(), filter: Filter, name: String = "oauthSecurityAuthCode", refreshUrl: Uri? = null, extraFields: Map<String, String> = emptyMap()) : OAuthSecurity
Link copied to clipboard
Link copied to clipboard
Checks the presence of bearer auth credentials. Filter returns 401 if auth fails.
Link copied to clipboard
class ClientCredentialsOAuthSecurity(val tokenUrl: Uri, scopes: List<OAuthScope> = emptyList(), filter: Filter = Filter.NoOp, name: String = "oauthSecurityClientCredentials", refreshUrl: Uri? = null, extraFields: Map<String, String> = emptyMap()) : OAuthSecurity
Link copied to clipboard
class DeviceCodeOAuthSecurity(val deviceAuthorizationUrl: Uri, val tokenUrl: Uri, scopes: List<OAuthScope> = emptyList(), filter: Filter = Filter.NoOp, name: String = "oauthSecurityDeviceCode", refreshUrl: Uri? = null, extraFields: Map<String, String> = emptyMap()) : OAuthSecurity
Link copied to clipboard
class ImplicitOAuthSecurity(val authorizationUrl: Uri, scopes: List<OAuthScope> = emptyList(), filter: Filter, name: String = "oauthSecurityImplicit", refreshUrl: Uri? = null, extraFields: Map<String, String> = emptyMap()) : OAuthSecurity
Link copied to clipboard
class MutualTLSSecurity(val filter: Filter = Filter.NoOp, val name: String = "mutualTLS") : Security
Mutual TLS (client certificate) security. The mTLS handshake is enforced at the transport/server layer, so the filter defaults to a no-op.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Default NoOp security filter. Filter allows all traffic through.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class OpenIdConnectSecurity(val discoveryUrl: Uri, val filter: Filter, val name: String = "openIdConnect") : Security
Link copied to clipboard
Link copied to clipboard
class UserCredentialsOAuthSecurity(val tokenUrl: Uri, scopes: List<OAuthScope> = emptyList(), filter: Filter = Filter.NoOp, name: String = "oauthSecurityUserCredentials", refreshUrl: Uri? = null, extraFields: Map<String, String> = emptyMap()) : OAuthSecurity
Functions
Link copied to clipboard
fun OAuthSecurity.Companion.googleCloudEndpoints(issuer: String, jwksUri: Uri, audiences: List<String>): ImplicitOAuthSecurity