Documentation
¶
Index ¶
- type Cognito
- func (s *Cognito) Connect(parentSegment ...*xray.XRayParentSegment) (err error)
- func (s *Cognito) Disconnect()
- func (s *Cognito) NewOpenIdTokenForDeveloperIdentity(identityPoolId, developerProviderID, developerProviderName string) (identityId, token string, err error)
- func (s *Cognito) RefreshOpenIdTokenForDeveloperIdentity(...) (identityId, token string, err error)
- func (s *Cognito) UpdateParentSegment(parentSegment *xray.XRayParentSegment)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cognito ¶
type Cognito struct {
// define the AWS region that Cognito is located at
AwsRegion awsregion.AWSRegion
// custom http2 client options
HttpOptions *awshttp2.HttpClientSettings
// contains filtered or unexported fields
}
Cognito struct encapsulates the AWS Cognito access functionality
func (*Cognito) Connect ¶
func (s *Cognito) Connect(parentSegment ...*xray.XRayParentSegment) (err error)
Connect will establish a connection to the Cognito service
func (*Cognito) NewOpenIdTokenForDeveloperIdentity ¶
func (*Cognito) RefreshOpenIdTokenForDeveloperIdentity ¶
func (*Cognito) UpdateParentSegment ¶
func (s *Cognito) UpdateParentSegment(parentSegment *xray.XRayParentSegment)
UpdateParentSegment updates this struct's xray parent segment, if no parent segment, set nil
Click to show internal directories.
Click to hide internal directories.