AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetOpenIdTokenInput

import "github.com/aws/aws-sdk-go/service/cognitoidentity"

type GetOpenIdTokenInput struct { IdentityId *string `min:"1" type:"string" required:"true"` Logins map[string]*string `type:"map"` }

Input to the GetOpenIdToken action.

IdentityId

Type: *string

A unique identifier in the format REGION:GUID.

IdentityId is a required field

Logins

Type: map[string]*string

A set of optional name-value pairs that map provider names to provider tokens. When using graph.facebook.com and www.amazon.com, supply the access_token returned from the provider's authflow. For accounts.google.com, an Amazon Cognito Identity Provider, or any other OpenId Connect provider, always include the id_token.

Method

GoString

func (s GetOpenIdTokenInput) GoString() string

GoString returns the string representation

SetIdentityId

func (s *GetOpenIdTokenInput) SetIdentityId(v string) *GetOpenIdTokenInput

SetIdentityId sets the IdentityId field's value.

SetLogins

func (s *GetOpenIdTokenInput) SetLogins(v map[string]*string) *GetOpenIdTokenInput

SetLogins sets the Logins field's value.

String

func (s GetOpenIdTokenInput) String() string

String returns the string representation

Validate

func (s *GetOpenIdTokenInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: