Documentation
¶
Overview ¶
Package model contains the data structures for the dbauth package.
Index ¶
- type GenerateAuthenticationTokenRequest
- func (r *GenerateAuthenticationTokenRequest) ClientProfile() *profile.ClientProfile
- func (r *GenerateAuthenticationTokenRequest) Credential() *common.Credential
- func (r *GenerateAuthenticationTokenRequest) InstanceId() string
- func (r *GenerateAuthenticationTokenRequest) Region() string
- func (r *GenerateAuthenticationTokenRequest) UserName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerateAuthenticationTokenRequest ¶
type GenerateAuthenticationTokenRequest struct {
// contains filtered or unexported fields
}
GenerateAuthenticationTokenRequest represents the request to generate an authentication token.
func NewGenerateAuthenticationTokenRequest ¶
func NewGenerateAuthenticationTokenRequest(region, instanceId, userName string, credential *common.Credential, clientProfile *profile.ClientProfile) (*GenerateAuthenticationTokenRequest, error)
NewGenerateAuthenticationTokenRequest creates a new GenerateAuthenticationTokenRequest.
func (*GenerateAuthenticationTokenRequest) ClientProfile ¶
func (r *GenerateAuthenticationTokenRequest) ClientProfile() *profile.ClientProfile
ClientProfile returns the clientProfile.
func (*GenerateAuthenticationTokenRequest) Credential ¶
func (r *GenerateAuthenticationTokenRequest) Credential() *common.Credential
Credential returns the credential.
func (*GenerateAuthenticationTokenRequest) InstanceId ¶
func (r *GenerateAuthenticationTokenRequest) InstanceId() string
InstanceId returns the instanceId.
func (*GenerateAuthenticationTokenRequest) Region ¶
func (r *GenerateAuthenticationTokenRequest) Region() string
Region returns the region.
func (*GenerateAuthenticationTokenRequest) UserName ¶
func (r *GenerateAuthenticationTokenRequest) UserName() string
UserName returns the userName.
Click to show internal directories.
Click to hide internal directories.