mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #109421 from vpnachev/fix/typo-in-token-request-doc-string
Fix typo in TokenRequest doc string
This commit is contained in:
commit
6605e526b0
2
api/openapi-spec/swagger.json
generated
2
api/openapi-spec/swagger.json
generated
@ -1522,7 +1522,7 @@
|
|||||||
"description": "TokenRequestSpec contains client provided parameters of a token request.",
|
"description": "TokenRequestSpec contains client provided parameters of a token request.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"audiences": {
|
"audiences": {
|
||||||
"description": "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.",
|
"description": "Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.",
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@ -78,7 +78,7 @@
|
|||||||
"description": "TokenRequestSpec contains client provided parameters of a token request.",
|
"description": "TokenRequestSpec contains client provided parameters of a token request.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"audiences": {
|
"audiences": {
|
||||||
"description": "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.",
|
"description": "Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.",
|
||||||
"items": {
|
"items": {
|
||||||
"default": "",
|
"default": "",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
2
pkg/generated/openapi/zz_generated.openapi.go
generated
2
pkg/generated/openapi/zz_generated.openapi.go
generated
@ -7063,7 +7063,7 @@ func schema_k8sio_api_authentication_v1_TokenRequestSpec(ref common.ReferenceCal
|
|||||||
Properties: map[string]spec.Schema{
|
Properties: map[string]spec.Schema{
|
||||||
"audiences": {
|
"audiences": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.",
|
Description: "Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.",
|
||||||
Type: []string{"array"},
|
Type: []string{"array"},
|
||||||
Items: &spec.SchemaOrArray{
|
Items: &spec.SchemaOrArray{
|
||||||
Schema: &spec.Schema{
|
Schema: &spec.Schema{
|
||||||
|
@ -74,7 +74,7 @@ message TokenRequest {
|
|||||||
// TokenRequestSpec contains client provided parameters of a token request.
|
// TokenRequestSpec contains client provided parameters of a token request.
|
||||||
message TokenRequestSpec {
|
message TokenRequestSpec {
|
||||||
// Audiences are the intendend audiences of the token. A recipient of a
|
// Audiences are the intendend audiences of the token. A recipient of a
|
||||||
// token must identitfy themself with an identifier in the list of
|
// token must identify themself with an identifier in the list of
|
||||||
// audiences of the token, and otherwise should reject the token. A
|
// audiences of the token, and otherwise should reject the token. A
|
||||||
// token issued for multiple audiences may be used to authenticate
|
// token issued for multiple audiences may be used to authenticate
|
||||||
// against any of the audiences listed but implies a high degree of
|
// against any of the audiences listed but implies a high degree of
|
||||||
|
@ -151,7 +151,7 @@ type TokenRequest struct {
|
|||||||
// TokenRequestSpec contains client provided parameters of a token request.
|
// TokenRequestSpec contains client provided parameters of a token request.
|
||||||
type TokenRequestSpec struct {
|
type TokenRequestSpec struct {
|
||||||
// Audiences are the intendend audiences of the token. A recipient of a
|
// Audiences are the intendend audiences of the token. A recipient of a
|
||||||
// token must identitfy themself with an identifier in the list of
|
// token must identify themself with an identifier in the list of
|
||||||
// audiences of the token, and otherwise should reject the token. A
|
// audiences of the token, and otherwise should reject the token. A
|
||||||
// token issued for multiple audiences may be used to authenticate
|
// token issued for multiple audiences may be used to authenticate
|
||||||
// against any of the audiences listed but implies a high degree of
|
// against any of the audiences listed but implies a high degree of
|
||||||
|
@ -52,7 +52,7 @@ func (TokenRequest) SwaggerDoc() map[string]string {
|
|||||||
|
|
||||||
var map_TokenRequestSpec = map[string]string{
|
var map_TokenRequestSpec = map[string]string{
|
||||||
"": "TokenRequestSpec contains client provided parameters of a token request.",
|
"": "TokenRequestSpec contains client provided parameters of a token request.",
|
||||||
"audiences": "Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.",
|
"audiences": "Audiences are the intendend audiences of the token. A recipient of a token must identify themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.",
|
||||||
"expirationSeconds": "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.",
|
"expirationSeconds": "ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.",
|
||||||
"boundObjectRef": "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.",
|
"boundObjectRef": "BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user