Class OAuth2Credentials.CookieNames

    • Field Detail

      • BEARER_TOKEN_FIELD_NUMBER

        public static final int BEARER_TOKEN_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OAUTH_HMAC_FIELD_NUMBER

        public static final int OAUTH_HMAC_FIELD_NUMBER
        See Also:
        Constant Field Values
      • OAUTH_EXPIRES_FIELD_NUMBER

        public static final int OAUTH_EXPIRES_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getBearerToken

        public String getBearerToken()
         Cookie name to hold OAuth bearer token value. When the authentication server validates the
         client and returns an authorization token back to the OAuth filter, no matter what format
         that token is, if :ref:`forward_bearer_token <envoy_v3_api_field_extensions.filters.http.oauth2.v3.OAuth2Config.forward_bearer_token>`
         is set to true the filter will send over the bearer token as a cookie with this name to the
         upstream. Defaults to ``BearerToken``.
         
        string bearer_token = 1 [(.validate.rules) = { ... }
        Specified by:
        getBearerToken in interface OAuth2Credentials.CookieNamesOrBuilder
        Returns:
        The bearerToken.
      • getBearerTokenBytes

        public com.google.protobuf.ByteString getBearerTokenBytes()
         Cookie name to hold OAuth bearer token value. When the authentication server validates the
         client and returns an authorization token back to the OAuth filter, no matter what format
         that token is, if :ref:`forward_bearer_token <envoy_v3_api_field_extensions.filters.http.oauth2.v3.OAuth2Config.forward_bearer_token>`
         is set to true the filter will send over the bearer token as a cookie with this name to the
         upstream. Defaults to ``BearerToken``.
         
        string bearer_token = 1 [(.validate.rules) = { ... }
        Specified by:
        getBearerTokenBytes in interface OAuth2Credentials.CookieNamesOrBuilder
        Returns:
        The bytes for bearerToken.
      • getOauthHmacBytes

        public com.google.protobuf.ByteString getOauthHmacBytes()
         Cookie name to hold OAuth HMAC value. Defaults to ``OauthHMAC``.
         
        string oauth_hmac = 2 [(.validate.rules) = { ... }
        Specified by:
        getOauthHmacBytes in interface OAuth2Credentials.CookieNamesOrBuilder
        Returns:
        The bytes for oauthHmac.
      • getOauthExpiresBytes

        public com.google.protobuf.ByteString getOauthExpiresBytes()
         Cookie name to hold OAuth expiry value. Defaults to ``OauthExpires``.
         
        string oauth_expires = 3 [(.validate.rules) = { ... }
        Specified by:
        getOauthExpiresBytes in interface OAuth2Credentials.CookieNamesOrBuilder
        Returns:
        The bytes for oauthExpires.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static OAuth2Credentials.CookieNames parseFrom​(ByteBuffer data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OAuth2Credentials.CookieNames parseFrom​(ByteBuffer data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OAuth2Credentials.CookieNames parseFrom​(com.google.protobuf.ByteString data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OAuth2Credentials.CookieNames parseFrom​(com.google.protobuf.ByteString data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OAuth2Credentials.CookieNames parseFrom​(byte[] data)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static OAuth2Credentials.CookieNames parseFrom​(byte[] data,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public OAuth2Credentials.CookieNames.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public OAuth2Credentials.CookieNames.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected OAuth2Credentials.CookieNames.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<OAuth2Credentials.CookieNames> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public OAuth2Credentials.CookieNames getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder