// Registers (or retrieves) a Cognito IdentityId and an OpenID Connect token for a
// user authenticated by your backend authentication process. Supplying multiple
// logins will create an implicit linked account. You can only specify one
// developer provider as part of the Logins map, which is linked to the identity
// pool. The developer provider is the "domain" by which Cognito will refer to your
// users. You can use GetOpenIdTokenForDeveloperIdentity to create a new identity
// and to link new logins (that is, user credentials issued by a public provider or
// developer provider) to an existing identity. When you want to create a new
// identity, the IdentityId should be null. When you want to associate a new login
// with an existing authenticated/unauthenticated identity, you can do so by
// providing the existing IdentityId. This API will create the identity in the
// specified IdentityPoolId. You must use AWS Developer credentials to call this
// API.
Registers (or retrieves) a Cognito IdentityId and an OpenID Connect token for a
user authenticated by your backend authentication process. Supplying multiple
logins will create an implicit linked account. You can only specify one
developer provider as part of the Logins map, which is linked to the identity
pool. The developer provider is the "domain" by which Cognito will refer to your
users. You can use GetOpenIdTokenForDeveloperIdentity to create a new identity
and to link new logins (that is, user credentials issued by a public provider or
developer provider) to an existing identity. When you want to create a new
identity, the IdentityId should be null. When you want to associate a new login
with an existing authenticated/unauthenticated identity, you can do so by
providing the existing IdentityId. This API will create the identity in the
specified IdentityPoolId. You must use AWS Developer credentials to call this
API.
// Registers ( or retrieves ) a Cognito IdentityId and an OpenID Connect token for a // user authenticated by your backend authentication process . Supplying multiple // logins will create an implicit linked account . You can only specify one // developer provider as part of the Logins map which is linked to the identity // pool . The developer provider is the " domain " by which Cognito will refer to your // users . You can use GetOpenIdTokenForDeveloperIdentity to create a new identity // and to link new logins ( that is user credentials issued by a public provider or // developer provider ) to an existing identity . When you want to create a new // identity the IdentityId should be null . When you want to associate a new login // with an existing authenticated / unauthenticated identity you can do so by // providing the existing IdentityId . This API will create the identity in the // specified IdentityPoolId . You must use AWS Developer credentials to call this // API .
func (c *Client) GetOpenIdTokenForDeveloperIdentity(ctx context.Context, params *GetOpenIdTokenForDeveloperIdentityInput, optFns ...func(*Options)) (*GetOpenIdTokenForDeveloperIdentityOutput, error) {
	if params == nil {
		params = &GetOpenIdTokenForDeveloperIdentityInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetOpenIdTokenForDeveloperIdentity", params, optFns, addOperationGetOpenIdTokenForDeveloperIdentityMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetOpenIdTokenForDeveloperIdentityOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetOpenIdTokenForDeveloperIdentity ( ctx context . Context , params * GetOpenIdTokenForDeveloperIdentityInput , optFns ... func ( * Options ) ) ( * GetOpenIdTokenForDeveloperIdentityOutput , error ) { if params == nil { params = & GetOpenIdTokenForDeveloperIdentityInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetOpenIdTokenForDeveloperIdentityMiddlewares ) if err != nil { return nil , err } out := result . ( * GetOpenIdTokenForDeveloperIdentityOutput ) out . ResultMetadata = metadata return out , nil }
Registers (or retrieves) a Cognito IdentityId and an OpenID Connect token for a
user authenticated by your backend authentication process.
Registers ( or retrieves ) a Cognito IdentityId and an OpenID Connect token for a user authenticated by your backend authentication process .