amazonka-cognito-idp-2.0: Amazon Cognito Identity Provider SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CognitoIdentityProvider.GlobalSignOut

Description

Signs out users from all devices. It also invalidates all refresh tokens that Amazon Cognito has issued to a user. A user can still use a hosted UI cookie to retrieve new tokens for the duration of the 1-hour cookie validity period.

Synopsis

Creating a Request

data GlobalSignOut Source #

Represents the request to sign out all devices.

See: newGlobalSignOut smart constructor.

Constructors

GlobalSignOut' 

Fields

Instances

Instances details
ToJSON GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

ToHeaders GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

ToPath GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

ToQuery GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

AWSRequest GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

Associated Types

type AWSResponse GlobalSignOut #

Generic GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

Associated Types

type Rep GlobalSignOut :: Type -> Type #

Show GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

NFData GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

Methods

rnf :: GlobalSignOut -> () #

Eq GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

Hashable GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

type AWSResponse GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

type Rep GlobalSignOut Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

type Rep GlobalSignOut = D1 ('MetaData "GlobalSignOut" "Amazonka.CognitoIdentityProvider.GlobalSignOut" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "GlobalSignOut'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accessToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))))

newGlobalSignOut Source #

Create a value of GlobalSignOut with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GlobalSignOut, globalSignOut_accessToken - A valid access token that Amazon Cognito issued to the user who you want to sign out.

Request Lenses

globalSignOut_accessToken :: Lens' GlobalSignOut Text Source #

A valid access token that Amazon Cognito issued to the user who you want to sign out.

Destructuring the Response

data GlobalSignOutResponse Source #

The response to the request to sign out all devices.

See: newGlobalSignOutResponse smart constructor.

Constructors

GlobalSignOutResponse' 

Fields

Instances

Instances details
Generic GlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

Associated Types

type Rep GlobalSignOutResponse :: Type -> Type #

Read GlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

Show GlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

NFData GlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

Methods

rnf :: GlobalSignOutResponse -> () #

Eq GlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

type Rep GlobalSignOutResponse Source # 
Instance details

Defined in Amazonka.CognitoIdentityProvider.GlobalSignOut

type Rep GlobalSignOutResponse = D1 ('MetaData "GlobalSignOutResponse" "Amazonka.CognitoIdentityProvider.GlobalSignOut" "amazonka-cognito-idp-2.0-D1ERgMvEVPG9z8cOLXdU2" 'False) (C1 ('MetaCons "GlobalSignOutResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGlobalSignOutResponse Source #

Create a value of GlobalSignOutResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:GlobalSignOutResponse', globalSignOutResponse_httpStatus - The response's http status code.

Response Lenses