ldap-scim-bridge-0.1: See README for synopsis
Safe HaskellNone
LanguageHaskell2010

LdapScimBridge

Synopsis

Documentation

data LdapConf Source #

Constructors

LdapConf 

Fields

Instances

Instances details
Show LdapConf Source # 
Instance details

Defined in LdapScimBridge

FromJSON LdapConf Source # 
Instance details

Defined in LdapScimBridge

data LdapFilterAttr Source #

Constructors

LdapFilterAttr 

Fields

Instances

Instances details
Eq LdapFilterAttr Source # 
Instance details

Defined in LdapScimBridge

Show LdapFilterAttr Source # 
Instance details

Defined in LdapScimBridge

Generic LdapFilterAttr Source # 
Instance details

Defined in LdapScimBridge

Associated Types

type Rep LdapFilterAttr :: Type -> Type #

FromJSON LdapFilterAttr Source # 
Instance details

Defined in LdapScimBridge

type Rep LdapFilterAttr Source # 
Instance details

Defined in LdapScimBridge

type Rep LdapFilterAttr = D1 ('MetaData "LdapFilterAttr" "LdapScimBridge" "ldap-scim-bridge-0.1-IIuup4792nj9EOQT6kchJF" 'False) (C1 ('MetaCons "LdapFilterAttr" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data LdapSearch Source #

Constructors

LdapSearch 

Fields

Instances

Instances details
Eq LdapSearch Source # 
Instance details

Defined in LdapScimBridge

Show LdapSearch Source # 
Instance details

Defined in LdapScimBridge

FromJSON LdapSearch Source # 
Instance details

Defined in LdapScimBridge

data Codec Source #

Constructors

Utf8 
Latin1 

Instances

Instances details
Eq Codec Source # 
Instance details

Defined in LdapScimBridge

Methods

(==) :: Codec -> Codec -> Bool #

(/=) :: Codec -> Codec -> Bool #

Show Codec Source # 
Instance details

Defined in LdapScimBridge

Methods

showsPrec :: Int -> Codec -> ShowS #

show :: Codec -> String #

showList :: [Codec] -> ShowS #

data ScimConf Source #

Constructors

ScimConf 

Instances

Instances details
Eq ScimConf Source # 
Instance details

Defined in LdapScimBridge

Show ScimConf Source # 
Instance details

Defined in LdapScimBridge

Generic ScimConf Source # 
Instance details

Defined in LdapScimBridge

Associated Types

type Rep ScimConf :: Type -> Type #

Methods

from :: ScimConf -> Rep ScimConf x #

to :: Rep ScimConf x -> ScimConf #

FromJSON ScimConf Source # 
Instance details

Defined in LdapScimBridge

type Rep ScimConf Source # 
Instance details

Defined in LdapScimBridge

data BridgeConf Source #

Instances

Instances details
Generic BridgeConf Source # 
Instance details

Defined in LdapScimBridge

Associated Types

type Rep BridgeConf :: Type -> Type #

FromJSON BridgeConf Source # 
Instance details

Defined in LdapScimBridge

type Rep BridgeConf Source # 
Instance details

Defined in LdapScimBridge

type Rep BridgeConf = D1 ('MetaData "BridgeConf" "LdapScimBridge" "ldap-scim-bridge-0.1-IIuup4792nj9EOQT6kchJF" 'False) (C1 ('MetaCons "BridgeConf" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ldapSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LdapConf) :*: S1 ('MetaSel ('Just "scimTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ScimConf)) :*: (S1 ('MetaSel ('Just "mapping") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Mapping) :*: S1 ('MetaSel ('Just "logLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Level))))

data FieldMapping Source #

Instances

Instances details
Show FieldMapping Source # 
Instance details

Defined in LdapScimBridge

data ScimTag Source #

Instances

Instances details
UserTypes ScimTag Source # 
Instance details

Defined in LdapScimBridge

Associated Types

type UserId ScimTag #

type UserExtra ScimTag #

GroupTypes ScimTag Source # 
Instance details

Defined in LdapScimBridge

Associated Types

type GroupId ScimTag #

AuthTypes ScimTag Source # 
Instance details

Defined in LdapScimBridge

Associated Types

type AuthData ScimTag #

type AuthInfo ScimTag #

type UserExtra ScimTag Source # 
Instance details

Defined in LdapScimBridge

type UserId ScimTag Source # 
Instance details

Defined in LdapScimBridge

type GroupId ScimTag Source # 
Instance details

Defined in LdapScimBridge

type AuthInfo ScimTag Source # 
Instance details

Defined in LdapScimBridge

type AuthInfo ScimTag = ()
type AuthData ScimTag Source # 
Instance details

Defined in LdapScimBridge

newtype Mapping Source #

Map attribute keys to functions from attribute values to changes to scim records. We'll start off with an empty scim record, and change it based on attributes we find that are listed in the mapping. Mappigns can fail, eg. if there is more than one attribute value for the attribute mapping to externalId.

Constructors

Mapping 

Instances

Instances details
Show Mapping Source # 
Instance details

Defined in LdapScimBridge

FromJSON Mapping Source # 
Instance details

Defined in LdapScimBridge

emptyScimUser :: User Source #

the undefined is ok, the mapping is guaranteed to contain a filler for this, or the mapping parser would have failed.

type Logger = Level -> Text -> IO () Source #

main :: IO () Source #

Orphan instances

FromJSON Level Source # 
Instance details