TokenRequest#

class TokenRequest(grant_type=None, code=None, connector_id=None, scope=None, refresh_token=None, client_id=None, client_assertion_type=None, client_assertion=None, redirect_uri=None, audience=None, subject_token=None, subject_token_type=None, non_tenant_issuer=None, *args, **kwargs)#

Bases: object

Information of the OIDC Token request.

Parameters:
  • grant_type (required) – (grant_type)

  • code – (code) Code for the OIDC token.

  • connector_id – (connector_id) Connector identifier for the connector of a user.

  • scope (required) – (scope)

  • refresh_token – (refresh_token) Request token to get the OIDC token.

  • client_id (required) – (client_id) Client identifier for the OIDC token request.

  • client_assertion_type – (client_assertion_type) Client assertion type for the OIDC token request.

  • client_assertion – (client_assertion) Client assertion for the OIDC token request.

  • redirect_uri – (redirect_uri) Redirect URI for the OIDC token request.

  • audience – (audience) Audience for the OIDC token request.

  • subject_token – (subject_token) Subject token for the OIDC token request.

  • subject_token_type – (subject_token_type)

  • non_tenant_issuer – (non_tenant_issuer) Non-tenant issuer for the OIDC token request.

property audience#

Audience for the OIDC token request.

Type:

str

property client_assertion#

Client assertion for the OIDC token request.

Type:

str

property client_assertion_type#

Client assertion type for the OIDC token request.

Type:

str

property client_id#

Client identifier for the OIDC token request.

Type:

str

property code#

Code for the OIDC token.

Type:

str

property connector_id#

Connector identifier for the connector of a user.

Type:

str

property grant_type#
Type:

GrantType

property non_tenant_issuer#

Non-tenant issuer for the OIDC token request.

Type:

str

property redirect_uri#

Redirect URI for the OIDC token request.

Type:

str

property refresh_token#

Request token to get the OIDC token.

Type:

str

property scope#
Type:

ScopesType

property subject_token#

Subject token for the OIDC token request.

Type:

str

property subject_token_type#
Type:

SubjectType

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model