Skip to content

Type definitions#

Index > SSOOIDC > Type definitions

Auto-generated documentation for SSOOIDC type annotations stubs module mypy-boto3-sso-oidc.

CreateTokenRequestRequestTypeDef#

# CreateTokenRequestRequestTypeDef definition

class CreateTokenRequestRequestTypeDef(TypedDict):
    clientId: str,
    clientSecret: str,
    grantType: str,
    deviceCode: NotRequired[str],
    code: NotRequired[str],
    refreshToken: NotRequired[str],
    scope: NotRequired[Sequence[str]],
    redirectUri: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

CreateTokenWithIAMRequestRequestTypeDef#

# CreateTokenWithIAMRequestRequestTypeDef definition

class CreateTokenWithIAMRequestRequestTypeDef(TypedDict):
    clientId: str,
    grantType: str,
    code: NotRequired[str],
    refreshToken: NotRequired[str],
    assertion: NotRequired[str],
    scope: NotRequired[Sequence[str]],
    redirectUri: NotRequired[str],
    subjectToken: NotRequired[str],
    subjectTokenType: NotRequired[str],
    requestedTokenType: NotRequired[str],

RegisterClientRequestRequestTypeDef#

# RegisterClientRequestRequestTypeDef definition

class RegisterClientRequestRequestTypeDef(TypedDict):
    clientName: str,
    clientType: str,
    scopes: NotRequired[Sequence[str]],

StartDeviceAuthorizationRequestRequestTypeDef#

# StartDeviceAuthorizationRequestRequestTypeDef definition

class StartDeviceAuthorizationRequestRequestTypeDef(TypedDict):
    clientId: str,
    clientSecret: str,
    startUrl: str,

CreateTokenResponseTypeDef#

# CreateTokenResponseTypeDef definition

class CreateTokenResponseTypeDef(TypedDict):
    accessToken: str,
    tokenType: str,
    expiresIn: int,
    refreshToken: str,
    idToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateTokenWithIAMResponseTypeDef#

# CreateTokenWithIAMResponseTypeDef definition

class CreateTokenWithIAMResponseTypeDef(TypedDict):
    accessToken: str,
    tokenType: str,
    expiresIn: int,
    refreshToken: str,
    idToken: str,
    issuedTokenType: str,
    scope: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RegisterClientResponseTypeDef#

# RegisterClientResponseTypeDef definition

class RegisterClientResponseTypeDef(TypedDict):
    clientId: str,
    clientSecret: str,
    clientIdIssuedAt: int,
    clientSecretExpiresAt: int,
    authorizationEndpoint: str,
    tokenEndpoint: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartDeviceAuthorizationResponseTypeDef#

# StartDeviceAuthorizationResponseTypeDef definition

class StartDeviceAuthorizationResponseTypeDef(TypedDict):
    deviceCode: str,
    userCode: str,
    verificationUri: str,
    verificationUriComplete: str,
    expiresIn: int,
    interval: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef