Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Network.ONCRPC.Auth
Description
Authentication mechanisms for RPC.
Synopsis
- data Auth
- data Authsys_parms = Authsys_parms {}
- opacifyAuth :: Auth -> Opaque_auth
- unopacifyAuth :: Opaque_auth -> Auth
- getAuthUnix :: IO Auth
Documentation
More translucent version of Opaque_auth
union (not expressible in XDR)
Constructors
AuthNone | |
AuthSys !Authsys_parms | |
AuthOpaque !Opaque_auth |
data Authsys_parms Source #
Constructors
Authsys_parms | |
Fields
|
Instances
Opaqued Authsys_parms Source # | |
Defined in Network.ONCRPC.XDR.Opaque Methods opacify :: Authsys_parms -> ByteString Source # unopacify :: MonadFail m => ByteString -> m Authsys_parms Source # | |
XDR Authsys_parms Source # | |
Defined in Network.ONCRPC.Prot | |
Show Authsys_parms Source # | |
Defined in Network.ONCRPC.Prot Methods showsPrec :: Int -> Authsys_parms -> ShowS # show :: Authsys_parms -> String # showList :: [Authsys_parms] -> ShowS # | |
Eq Authsys_parms Source # | |
Defined in Network.ONCRPC.Prot Methods (==) :: Authsys_parms -> Authsys_parms -> Bool # (/=) :: Authsys_parms -> Authsys_parms -> Bool # |
opacifyAuth :: Auth -> Opaque_auth Source #
unopacifyAuth :: Opaque_auth -> Auth Source #
getAuthUnix :: IO Auth Source #
Get the appropriate, effective AuthSys value for the current process. You know, if you're into that sort of thing.