The result of an authentication attempt.
Constructors
BadPasswordNoSuchUserAuthenticated valAuthentication succeeded.
IndefiniteIf an authentication procedure cannot be carried out - if for example it expects a password and username in a header that is not present -
Indefiniteis returned. This indicates that other authentication methods should be tried.
Instances15Monad, Functor, Applicative, Foldable, Traversable, Alternative, …
Monad AuthResultDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesFunctor AuthResultDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesApplicative AuthResultDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesFoldable AuthResultDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesTraversable AuthResultDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesAlternative AuthResultDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesMonadPlus AuthResultDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesEq val => Eq (AuthResult val)Defined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesOrd val => Ord (AuthResult val)Defined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesRead val => Read (AuthResult val)Defined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesShow val => Show (AuthResult val)Defined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesGeneric (AuthResult val)Defined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesSemigroup (AuthResult val)Defined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.TypesMonoid (AuthResult val)Defined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.Typestype Rep (AuthResult val) = D1 ('MetaDataDefined in servant-auth-server-0.4.9.0 · Servant.Auth.Server.Internal.Types"AuthResult"
"Servant.Auth.Server.Internal.Types"
"servant-auth-server-0.4.9.0-CzaN2g7P12r5uHKHmTCqeh"
'False) ((C1 ('MetaCons"BadPassword"
'PrefixI 'False) U1 :+: C1 ('MetaCons"NoSuchUser"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"Authenticated"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 val)) :+: C1 ('MetaCons"Indefinite"
'PrefixI 'False) U1))