Documentation ¶
Index ¶
Constants ¶
View Source
const ( ProviderMockSuccess = "MockSuccess" ProviderMockFailure = "MockFailure" )
View Source
const (
ProviderRpc = "rpc"
)
Variables ¶
Functions ¶
func Register ¶
func Register(name string, provider Authenticator)
func Unregister ¶
func Unregister(name string)
Types ¶
type Authenticator ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) Authenticate ¶
type RpcAuthenticator ¶
type RpcAuthenticator struct { AccessKeyId string AccessKeySecret string // contains filtered or unexported fields }
func (*RpcAuthenticator) Authenticate ¶
func (a *RpcAuthenticator) Authenticate(id string, cred interface{}) error
func (*RpcAuthenticator) Close ¶
func (a *RpcAuthenticator) Close() error
Click to show internal directories.
Click to hide internal directories.