Documentation
¶
Overview ¶
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
View Source
const APP_ACCES_TOKEN = "app_access"
View Source
const USER_ACCESS_TOKEN = "user_access"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppAccessTokenEndpoint ¶
type AppAccessTokenEndpoint struct{}
func (AppAccessTokenEndpoint) Path ¶
func (e AppAccessTokenEndpoint) Path() string
func (AppAccessTokenEndpoint) ServeHTTP ¶
func (e AppAccessTokenEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
type AuthEndpoint ¶
type AuthEndpoint interface {
Path() string
ServeHTTP(w http.ResponseWriter, r *http.Request)
}
func All ¶
func All() []AuthEndpoint
type UserTokenEndpoint ¶
type UserTokenEndpoint struct{}
func (UserTokenEndpoint) Path ¶
func (e UserTokenEndpoint) Path() string
func (UserTokenEndpoint) ServeHTTP ¶
func (e UserTokenEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
type ValidateTokenEndpoint ¶
type ValidateTokenEndpoint struct{}
func (ValidateTokenEndpoint) Path ¶
func (e ValidateTokenEndpoint) Path() string
func (ValidateTokenEndpoint) ServeHTTP ¶
func (e ValidateTokenEndpoint) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.