class K8S::Api::Authentication::V1::TokenRequestSpec
- K8S::Api::Authentication::V1::TokenRequestSpec
- Reference
- Object
Overview
TokenRequestSpec contains client provided parameters of a token request.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.19/api/authentication/v1/token_request_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, audiences : Array, bound_object_ref : Api::Authentication::V1::BoundObjectReference? = nil, expiration_seconds : Int32? = nil)
Instance Method Summary
- #audiences : Array(String)
- #audiences=(audiences : Array(String))
- #bound_object_ref : Api::Authentication::V1::BoundObjectReference?
- #bound_object_ref=(bound_object_ref : Api::Authentication::V1::BoundObjectReference?)
- #expiration_seconds : Int32?
- #expiration_seconds=(expiration_seconds : Int32?)
Constructor Detail
def self.new(*, audiences : Array, bound_object_ref : Api::Authentication::V1::BoundObjectReference? = nil, expiration_seconds : Int32? = nil)
#
Instance Method Detail
def bound_object_ref=(bound_object_ref : Api::Authentication::V1::BoundObjectReference?)
#