Interface OAuth2ConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    OAuth2Config, OAuth2Config.Builder

    public interface OAuth2ConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasTokenEndpoint

        boolean hasTokenEndpoint()
         Endpoint on the authorization server to retrieve the access token from.
         
        .envoy.config.core.v3.HttpUri token_endpoint = 1;
        Returns:
        Whether the tokenEndpoint field is set.
      • getTokenEndpoint

        HttpUri getTokenEndpoint()
         Endpoint on the authorization server to retrieve the access token from.
         
        .envoy.config.core.v3.HttpUri token_endpoint = 1;
        Returns:
        The tokenEndpoint.
      • getTokenEndpointOrBuilder

        HttpUriOrBuilder getTokenEndpointOrBuilder()
         Endpoint on the authorization server to retrieve the access token from.
         
        .envoy.config.core.v3.HttpUri token_endpoint = 1;
      • getAuthorizationEndpoint

        String getAuthorizationEndpoint()
         The endpoint redirect to for authorization in response to unauthorized requests.
         
        string authorization_endpoint = 2 [(.validate.rules) = { ... }
        Returns:
        The authorizationEndpoint.
      • getAuthorizationEndpointBytes

        com.google.protobuf.ByteString getAuthorizationEndpointBytes()
         The endpoint redirect to for authorization in response to unauthorized requests.
         
        string authorization_endpoint = 2 [(.validate.rules) = { ... }
        Returns:
        The bytes for authorizationEndpoint.
      • hasCredentials

        boolean hasCredentials()
         Credentials used for OAuth.
         
        .envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }
        Returns:
        Whether the credentials field is set.
      • getCredentials

        OAuth2Credentials getCredentials()
         Credentials used for OAuth.
         
        .envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }
        Returns:
        The credentials.
      • getCredentialsOrBuilder

        OAuth2CredentialsOrBuilder getCredentialsOrBuilder()
         Credentials used for OAuth.
         
        .envoy.extensions.filters.http.oauth2.v3.OAuth2Credentials credentials = 3 [(.validate.rules) = { ... }
      • getRedirectUri

        String getRedirectUri()
         The redirect URI passed to the authorization endpoint. Supports header formatting
         tokens. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
         This URI should not contain any query parameters.
         
        string redirect_uri = 4 [(.validate.rules) = { ... }
        Returns:
        The redirectUri.
      • getRedirectUriBytes

        com.google.protobuf.ByteString getRedirectUriBytes()
         The redirect URI passed to the authorization endpoint. Supports header formatting
         tokens. For more information, including details on header value syntax, see the
         documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
         This URI should not contain any query parameters.
         
        string redirect_uri = 4 [(.validate.rules) = { ... }
        Returns:
        The bytes for redirectUri.
      • hasRedirectPathMatcher

        boolean hasRedirectPathMatcher()
         Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
         
        .envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }
        Returns:
        Whether the redirectPathMatcher field is set.
      • getRedirectPathMatcher

        PathMatcher getRedirectPathMatcher()
         Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
         
        .envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }
        Returns:
        The redirectPathMatcher.
      • getRedirectPathMatcherOrBuilder

        PathMatcherOrBuilder getRedirectPathMatcherOrBuilder()
         Matching criteria used to determine whether a path appears to be the result of a redirect from the authorization server.
         
        .envoy.type.matcher.v3.PathMatcher redirect_path_matcher = 5 [(.validate.rules) = { ... }
      • hasSignoutPath

        boolean hasSignoutPath()
         The path to sign a user out, clearing their credential cookies.
         
        .envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }
        Returns:
        Whether the signoutPath field is set.
      • getSignoutPath

        PathMatcher getSignoutPath()
         The path to sign a user out, clearing their credential cookies.
         
        .envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }
        Returns:
        The signoutPath.
      • getSignoutPathOrBuilder

        PathMatcherOrBuilder getSignoutPathOrBuilder()
         The path to sign a user out, clearing their credential cookies.
         
        .envoy.type.matcher.v3.PathMatcher signout_path = 6 [(.validate.rules) = { ... }
      • getForwardBearerToken

        boolean getForwardBearerToken()
         Forward the OAuth token as a Bearer to upstream web service.
         
        bool forward_bearer_token = 7;
        Returns:
        The forwardBearerToken.
      • getPassThroughMatcherList

        List<HeaderMatcher> getPassThroughMatcherList()
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • getPassThroughMatcher

        HeaderMatcher getPassThroughMatcher​(int index)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • getPassThroughMatcherCount

        int getPassThroughMatcherCount()
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • getPassThroughMatcherOrBuilderList

        List<? extends HeaderMatcherOrBuilder> getPassThroughMatcherOrBuilderList()
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • getPassThroughMatcherOrBuilder

        HeaderMatcherOrBuilder getPassThroughMatcherOrBuilder​(int index)
         Any request that matches any of the provided matchers will be passed through without OAuth validation.
         
        repeated .envoy.config.route.v3.HeaderMatcher pass_through_matcher = 8;
      • getAuthScopesList

        List<String> getAuthScopesList()
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Returns:
        A list containing the authScopes.
      • getAuthScopesCount

        int getAuthScopesCount()
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Returns:
        The count of authScopes.
      • getAuthScopes

        String getAuthScopes​(int index)
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Parameters:
        index - The index of the element to return.
        Returns:
        The authScopes at the given index.
      • getAuthScopesBytes

        com.google.protobuf.ByteString getAuthScopesBytes​(int index)
         Optional list of OAuth scopes to be claimed in the authorization request. If not specified,
         defaults to "user" scope.
         OAuth RFC https://tools.ietf.org/html/rfc6749#section-3.3
         
        repeated string auth_scopes = 9;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the authScopes at the given index.
      • getResourcesList

        List<String> getResourcesList()
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Returns:
        A list containing the resources.
      • getResourcesCount

        int getResourcesCount()
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Returns:
        The count of resources.
      • getResources

        String getResources​(int index)
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Parameters:
        index - The index of the element to return.
        Returns:
        The resources at the given index.
      • getResourcesBytes

        com.google.protobuf.ByteString getResourcesBytes​(int index)
         Optional resource parameter for authorization request
         RFC: https://tools.ietf.org/html/rfc8707
         
        repeated string resources = 10;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the resources at the given index.