UnlinkIdentityRequest Class

(QtAws::CognitoIdentity::UnlinkIdentityRequest)

The UnlinkIdentityRequest class provides an interface for CognitoIdentity UnlinkIdentity requests. More...

Header: #include <UnlinkIdentityRequest>
Inherits: QtAws::CognitoIdentity::CognitoIdentityRequest

Public Functions

UnlinkIdentityRequest(const UnlinkIdentityRequest &other)
UnlinkIdentityRequest()

Reimplemented Public Functions

virtual bool isValid() const override

Reimplemented Protected Functions

virtual QtAws::Core::AwsAbstractResponse *response(QNetworkReply * const reply) const override

Detailed Description

The UnlinkIdentityRequest class provides an interface for CognitoIdentity UnlinkIdentity requests.

<fullname>Amazon Cognito</fullname>

Amazon Cognito is a web service that delivers scoped temporary credentials to mobile devices and other untrusted environments. Amazon Cognito uniquely identifies a device and supplies the user with a consistent identity over the lifetime of an

application>

Using Amazon Cognito, you can enable authentication with one or more third-party identity providers (Facebook, Google, or Login with Amazon), and you can also choose to support unauthenticated access from your app. Cognito delivers a unique identifier for each user and acts as an OpenID token provider trusted by AWS Security Token Service (STS) to access temporary, limited-privilege AWS

credentials>

To provide end-user credentials, first make an unsigned call to <a>GetId</a>. If the end user is authenticated with one of the supported identity providers, set the <code>Logins</code> map with the identity provider token. <code>GetId</code> returns a unique identifier for the

user>

Next, make an unsigned call to <a>GetCredentialsForIdentity</a>. This call expects the same <code>Logins</code> map as the <code>GetId</code> call, as well as the <code>IdentityID</code> originally returned by <code>GetId</code>. Assuming your identity pool has been configured via the <a>SetIdentityPoolRoles</a> operation, <code>GetCredentialsForIdentity</code> will return AWS credentials for your use. If your pool has not been configured with <code>SetIdentityPoolRoles</code>, or if you want to follow legacy flow, make an unsigned call to <a>GetOpenIdToken</a>, which returns the OpenID token necessary to call STS and retrieve AWS credentials. This call expects the same <code>Logins</code> map as the <code>GetId</code> call, as well as the <code>IdentityID</code> originally returned by <code>GetId</code>. The token returned by <code>GetOpenIdToken</code> can be passed to the STS operation <a href="http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html">AssumeRoleWithWebIdentity</a> to retrieve AWS

credentials>

If you want to use Amazon Cognito in an Android, iOS, or Unity application, you will probably want to make API calls via the AWS Mobile SDK. To learn more, see the <a href="http://docs.aws.amazon.com/mobile/index.html">AWS Mobile SDK Developer

See also CognitoIdentityClient::unlinkIdentity.

Member Function Documentation

UnlinkIdentityRequest::UnlinkIdentityRequest(const UnlinkIdentityRequest &other)

Constructs a copy of other.

UnlinkIdentityRequest::UnlinkIdentityRequest()

Constructs a UnlinkIdentityRequest object.

[override virtual] bool UnlinkIdentityRequest::isValid() const

Reimplemented from AwsAbstractRequest::isValid().

[override virtual protected] QtAws::Core::AwsAbstractResponse *UnlinkIdentityRequest::response(QNetworkReply * const reply) const

Reimplemented from AwsAbstractRequest::response().

Returns a UnlinkIdentityResponse object to process reply.

See also QtAws::Core::AwsAbstractClient::send.

© 2018 Paul Colby Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.