Home

envoy.extensions.filters.http.oauth2.v3.OAuth2Config

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.envoy.extensions.filters.http.oauth2.v3.OAuth2Config
.withAuthScopes([ 'string' ])
.withAuthType(types.envoy.extensions.filters.http.oauth2.v3.OAuth2Config.AuthType.URL_ENCODED_BODY)
.withAuthorizationEndpoint('string')
.withCredentials(types.envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials)
.withForwardBearerToken(false)
.withPassThroughMatcher([ types.envoy.config.route.v3.HeaderMatcher ])
.withRedirectPathMatcher(types.envoy.type.matcher.v3.PathMatcher)
.withRedirectUri('string')
.withResources([ 'string' ])
.withSignoutPath(types.envoy.type.matcher.v3.PathMatcher)
.withTokenEndpoint(types.envoy.config.core.v3.HttpUri)
._validate()

Nested Enums

Fields

Name Type One-of group Required Constraints
auth_scopes [] string  
auth_type envoy.extensions.filters.http.oauth2.v3.OAuth2Config.AuthType   {"Enum":{"defined_only":true}}
authorization_endpoint string   {"String_":{"WellKnown":null,"min_len":1}}
credentials envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials yes 
forward_bearer_token bool  
pass_through_matcher [] envoy.config.route.v3.HeaderMatcher  
redirect_path_matcher envoy.type.matcher.v3.PathMatcher yes 
redirect_uri string   {"String_":{"WellKnown":null,"min_len":1}}
resources [] string  
signout_path envoy.type.matcher.v3.PathMatcher yes 
token_endpoint envoy.config.core.v3.HttpUri