Skip to main content

OAuth2_Exchange

OAuth2_Exchange

Path Parameters
  • user string required

    The user id.

  • flow string required

    The flow id.

Request Body required
  • name string required

    The resorce name of the flow.

  • code string required

    The OAuth 2.0 code returned from the authentication flow.

  • state string required

    The OAuth 2.0 state returned from the authentication flow.

Responses

OK

Schema
  • credentials object

    Credentials are persistent authentication

    • name string required

      The resorce name of the credentials.

    • uid string

      The unique and immutable identifier of the credentials.

    • principal string

      The principal of the credentialscode, usually the username.

    • active object

      Wrapper message for bool. The JSON representation for BoolValue is JSON true and false.

      • value boolean

        The bool value.

    • authenticationMethod enum

      Possible values: [AUTHENTICATION_METHOD_UNSPECIFIED, BASIC, OAUTH2]

      Which authentication method is used by the credentials.

    • lastActivityTime date-time

      When the credentials were last used.