From a91e2197fc7e105147c974db4550255bb3ba61cb Mon Sep 17 00:00:00 2001 From: hzoppetti Date: Thu, 19 Mar 2020 10:30:19 -0400 Subject: [PATCH 1/4] added authentication_type to profile --- openapi.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 35efaf446..9027e734a 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -17383,6 +17383,19 @@ components: access/perform, see [/profile/grants](/api/v4/profile-grants). example: false x-linode-cli-display: 3 + authentication_type: + type: string + description: | + The authentication type of the account. Authentication types are chosen through + Cloud Manager and authorized through Login. These authentication types are either + the user's password (in conjunction with their username), or the name of their + indentity provider such as "github", "google", etc. For example: + + - If a user has never used Third-Party Authentication, their authentication type will be "password". + - If a user is using Third-Party Authentication, their authentication type will be the name of their Identity Provider (eg. "github"). + - If a user used Third-Party Authentication and has since revoked it, their authentication type will be "password". + example: password + readOnly: true Region: type: object description: An area where Linode services are available. From d4a2fedfbb84fc0f9d8340b736be311b7ad2a627 Mon Sep 17 00:00:00 2001 From: leslitagordita Date: Fri, 20 Mar 2020 11:21:40 -0400 Subject: [PATCH 2/4] Copy edit --- openapi.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 9027e734a..4a460843b 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -17387,13 +17387,13 @@ components: type: string description: | The authentication type of the account. Authentication types are chosen through - Cloud Manager and authorized through Login. These authentication types are either + Cloud Manager and authorized when logging into your account. These authentication types are either the user's password (in conjunction with their username), or the name of their - indentity provider such as "github", "google", etc. For example: + indentity provider such as "github", "google", etc. For example, if a user: - - If a user has never used Third-Party Authentication, their authentication type will be "password". - - If a user is using Third-Party Authentication, their authentication type will be the name of their Identity Provider (eg. "github"). - - If a user used Third-Party Authentication and has since revoked it, their authentication type will be "password". + - Has never used Third-Party Authentication, their authentication type will be "password". + - Is using Third-Party Authentication, their authentication type will be the name of their Identity Provider (eg. "github"). + - Has used Third-Party Authentication and has since revoked it, their authentication type will be "password". example: password readOnly: true Region: From 9d8ce98985450188f14e3750aec73afd1c5e6d8c Mon Sep 17 00:00:00 2001 From: leslitagordita Date: Fri, 20 Mar 2020 11:29:58 -0400 Subject: [PATCH 3/4] More copy edits --- openapi.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 4a460843b..4c2f7b0fd 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -17389,11 +17389,11 @@ components: The authentication type of the account. Authentication types are chosen through Cloud Manager and authorized when logging into your account. These authentication types are either the user's password (in conjunction with their username), or the name of their - indentity provider such as "github", "google", etc. For example, if a user: + indentity provider such as GitHub. For example, if a user: - - Has never used Third-Party Authentication, their authentication type will be "password". - - Is using Third-Party Authentication, their authentication type will be the name of their Identity Provider (eg. "github"). - - Has used Third-Party Authentication and has since revoked it, their authentication type will be "password". + - Has never used Third-Party Authentication, their authentication type will be `password`. + - Is using Third-Party Authentication, their authentication type will be the name of their Identity Provider (eg. `github`). + - Has used Third-Party Authentication and has since revoked it, their authentication type will be `password`. example: password readOnly: true Region: From 0e1724106a47bf1254292756995fe3bfe1057b9d Mon Sep 17 00:00:00 2001 From: leslitagordita Date: Fri, 20 Mar 2020 11:48:45 -0400 Subject: [PATCH 4/4] Remove TPA info, since this feature will not be live yet Added enum for the possible values currently returned by API --- openapi.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 4c2f7b0fd..b5cb43f99 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -17385,15 +17385,11 @@ components: x-linode-cli-display: 3 authentication_type: type: string + enum: + - password description: | - The authentication type of the account. Authentication types are chosen through - Cloud Manager and authorized when logging into your account. These authentication types are either - the user's password (in conjunction with their username), or the name of their - indentity provider such as GitHub. For example, if a user: - - - Has never used Third-Party Authentication, their authentication type will be `password`. - - Is using Third-Party Authentication, their authentication type will be the name of their Identity Provider (eg. `github`). - - Has used Third-Party Authentication and has since revoked it, their authentication type will be `password`. + This account's Cloud Manager authentication type. Currently, a user's password + (in conjunction with their username) is the only available authentication type. example: password readOnly: true Region: