Type definitions#
Auto-generated documentation for SSOOIDC type annotations stubs module types-aiobotocore-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,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
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)
RegisterClientResponseTypeDef#
# RegisterClientResponseTypeDef definition
class RegisterClientResponseTypeDef(TypedDict):
clientId: str,
clientSecret: str,
clientIdIssuedAt: int,
clientSecretExpiresAt: int,
authorizationEndpoint: str,
tokenEndpoint: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartDeviceAuthorizationResponseTypeDef#
# StartDeviceAuthorizationResponseTypeDef definition
class StartDeviceAuthorizationResponseTypeDef(TypedDict):
deviceCode: str,
userCode: str,
verificationUri: str,
verificationUriComplete: str,
expiresIn: int,
interval: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)