Skip to content

Typed dictionaries

Index > SSOOIDC > Typed dictionaries

Auto-generated documentation for SSOOIDC type annotations stubs module types-aiobotocore-sso-oidc.

CreateTokenRequestRequestTypeDef

Usage Example
from types_aiobotocore_sso_oidc.type_defs import CreateTokenRequestRequestTypeDef

def get_value() -> CreateTokenRequestRequestTypeDef:
    return {
        "clientId": ...,
        "clientSecret": ...,
        "grantType": ...,
        "deviceCode": ...,
    }
Definition
class CreateTokenRequestRequestTypeDef(TypedDict):
    clientId: str,
    clientSecret: str,
    grantType: str,
    deviceCode: str,
    code: NotRequired[str],
    refreshToken: NotRequired[str],
    scope: NotRequired[Sequence[str]],
    redirectUri: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from types_aiobotocore_sso_oidc.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

RegisterClientRequestRequestTypeDef

Usage Example
from types_aiobotocore_sso_oidc.type_defs import RegisterClientRequestRequestTypeDef

def get_value() -> RegisterClientRequestRequestTypeDef:
    return {
        "clientName": ...,
        "clientType": ...,
    }
Definition
class RegisterClientRequestRequestTypeDef(TypedDict):
    clientName: str,
    clientType: str,
    scopes: NotRequired[Sequence[str]],

StartDeviceAuthorizationRequestRequestTypeDef

Usage Example
from types_aiobotocore_sso_oidc.type_defs import StartDeviceAuthorizationRequestRequestTypeDef

def get_value() -> StartDeviceAuthorizationRequestRequestTypeDef:
    return {
        "clientId": ...,
        "clientSecret": ...,
        "startUrl": ...,
    }
Definition
class StartDeviceAuthorizationRequestRequestTypeDef(TypedDict):
    clientId: str,
    clientSecret: str,
    startUrl: str,

CreateTokenResponseTypeDef

Usage Example
from types_aiobotocore_sso_oidc.type_defs import CreateTokenResponseTypeDef

def get_value() -> CreateTokenResponseTypeDef:
    return {
        "accessToken": ...,
        "tokenType": ...,
        "expiresIn": ...,
        "refreshToken": ...,
        "idToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateTokenResponseTypeDef(TypedDict):
    accessToken: str,
    tokenType: str,
    expiresIn: int,
    refreshToken: str,
    idToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RegisterClientResponseTypeDef

Usage Example
from types_aiobotocore_sso_oidc.type_defs import RegisterClientResponseTypeDef

def get_value() -> RegisterClientResponseTypeDef:
    return {
        "clientId": ...,
        "clientSecret": ...,
        "clientIdIssuedAt": ...,
        "clientSecretExpiresAt": ...,
        "authorizationEndpoint": ...,
        "tokenEndpoint": ...,
        "ResponseMetadata": ...,
    }
Definition
class RegisterClientResponseTypeDef(TypedDict):
    clientId: str,
    clientSecret: str,
    clientIdIssuedAt: int,
    clientSecretExpiresAt: int,
    authorizationEndpoint: str,
    tokenEndpoint: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartDeviceAuthorizationResponseTypeDef

Usage Example
from types_aiobotocore_sso_oidc.type_defs import StartDeviceAuthorizationResponseTypeDef

def get_value() -> StartDeviceAuthorizationResponseTypeDef:
    return {
        "deviceCode": ...,
        "userCode": ...,
        "verificationUri": ...,
        "verificationUriComplete": ...,
        "expiresIn": ...,
        "interval": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartDeviceAuthorizationResponseTypeDef(TypedDict):
    deviceCode: str,
    userCode: str,
    verificationUri: str,
    verificationUriComplete: str,
    expiresIn: int,
    interval: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef