func CreateAuthenticator(name string, cred *Cred) (Authenticator, error) {
	if f, ok := authFactories[name]; ok {
		return f(cred)
	}

	return nil, newAuthError(fmt.Sprintf("unknown authenticator: %s", name), nil)
}
// CreateAuthenticator creates an authenticator.
CreateAuthenticator creates an authenticator.
// CreateAuthenticator creates an authenticator .
func CreateAuthenticator(name string, cred *Cred) (Authenticator, error) {
	if f, ok := authFactories[name]; ok {
		return f(cred)
	}
	return nil, newAuthError(fmt.Sprintf("unknown authenticator: %s", name), nil)
}
func CreateAuthenticator ( name string , cred * Cred ) ( Authenticator , error ) { if f , ok := authFactories [ name ] ; ok { return f ( cred ) } return nil , newAuthError ( fmt . Sprintf ( " " , name ) , nil ) }
CreateAuthenticator creates an authenticator.
CreateAuthenticator creates an authenticator .