Documentation
¶
Index ¶
- func ListenAndServe(ctx context.Context, opts *Options) error
- type CognitoClient
- type Options
- type StrictServerHandler
- func (s *StrictServerHandler) CreateOAuthApplication(ctx context.Context, request portalv1.CreateOAuthApplicationRequestObject) (portalv1.CreateOAuthApplicationResponseObject, error)
- func (s *StrictServerHandler) DeleteOAuthApplication(ctx context.Context, request portalv1.DeleteOAuthApplicationRequestObject) (portalv1.DeleteOAuthApplicationResponseObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CognitoClient ¶
type CognitoClient interface { DeleteUserPoolClient( ctx context.Context, params *cognito.DeleteUserPoolClientInput, optFns ...func(*cognito.Options), ) (*cognito.DeleteUserPoolClientOutput, error) CreateUserPoolClient( ctx context.Context, params *cognito.CreateUserPoolClientInput, optFns ...func(*cognito.Options), ) (*cognito.CreateUserPoolClientOutput, error) UpdateUserPoolClient( ctx context.Context, params *cognito.UpdateUserPoolClientInput, optFns ...func(*cognito.Options), ) (*cognito.UpdateUserPoolClientOutput, error) CreateResourceServer( ctx context.Context, params *cognito.CreateResourceServerInput, optFns ...func(*cognito.Options), ) (*cognito.CreateResourceServerOutput, error) DescribeResourceServer( ctx context.Context, params *cognito.DescribeResourceServerInput, optFns ...func(*cognito.Options), ) (*cognito.DescribeResourceServerOutput, error) UpdateResourceServer( ctx context.Context, params *cognito.UpdateResourceServerInput, optFns ...func(*cognito.Options), ) (*cognito.UpdateResourceServerOutput, error) }
type Options ¶
func (*Options) AddToFlags ¶
type StrictServerHandler ¶
type StrictServerHandler struct {
// contains filtered or unexported fields
}
func NewStrictServerHandler ¶
func NewStrictServerHandler(opts *Options, cognitoClient CognitoClient) *StrictServerHandler
func (*StrictServerHandler) CreateOAuthApplication ¶
func (s *StrictServerHandler) CreateOAuthApplication( ctx context.Context, request portalv1.CreateOAuthApplicationRequestObject, ) (portalv1.CreateOAuthApplicationResponseObject, error)
CreateOAuthApplication creates a client in Cognito
func (*StrictServerHandler) DeleteOAuthApplication ¶
func (s *StrictServerHandler) DeleteOAuthApplication( ctx context.Context, request portalv1.DeleteOAuthApplicationRequestObject, ) (portalv1.DeleteOAuthApplicationResponseObject, error)
DeleteOAuthApplication deletes an application by ID.
Click to show internal directories.
Click to hide internal directories.