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, 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
Checks the presence of bearer auth credentials. Filter returns 401 if auth fails.
Link copied to clipboard
class ClientCredentialsOAuthSecurity(val tokenUrl: Uri, val scopes: List<OAuthScope> = emptyList(), val filter: Filter = Filter.NoOp, val name: String = "oauthSecurityClientCredentials", val refreshUrl: Uri? = null, val extraFields: Map<String, String> = emptyMap()) : OAuthSecurity
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
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, 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
fun OAuthSecurity.Companion.googleCloudEndpoints(issuer: String, jwksUri: Uri, audiences: List<String>): ImplicitOAuthSecurity