Merge pull request #109421 from vpnachev/fix/typo-in-token-request-doc-string

Fix typo in TokenRequest doc string
This commit is contained in:
Kubernetes Prow Robot 2022-05-03 22:43:30 -07:00 committed by GitHub
commit 6605e526b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View File

@ -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"
}, },

View File

@ -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"

View File

@ -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{

View File

@ -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

View File

@ -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

View File

@ -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.",
} }