Class: Google::Api::JwtLocation
- Inherits:
-
Object
- Object
- Google::Api::JwtLocation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/auth.rb
Overview
Specifies a location to extract JWT from an API request.
Instance Attribute Summary collapse
-
#cookie ⇒ ::String
Specifies cookie name to extract JWT token.
-
#header ⇒ ::String
Specifies HTTP header name to extract JWT token.
-
#query ⇒ ::String
Specifies URL query parameter name to extract JWT token.
-
#value_prefix ⇒ ::String
The value prefix.
Instance Attribute Details
#cookie ⇒ ::String
Returns Specifies cookie name to extract JWT token.
103 104 105 106 |
# File 'proto_docs/google/api/auth.rb', line 103 class JwtLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#header ⇒ ::String
Returns Specifies HTTP header name to extract JWT token.
103 104 105 106 |
# File 'proto_docs/google/api/auth.rb', line 103 class JwtLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#query ⇒ ::String
Returns Specifies URL query parameter name to extract JWT token.
103 104 105 106 |
# File 'proto_docs/google/api/auth.rb', line 103 class JwtLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#value_prefix ⇒ ::String
Returns The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed.
For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end.
103 104 105 106 |
# File 'proto_docs/google/api/auth.rb', line 103 class JwtLocation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |