| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Ldap.Asn1.Type
- data LdapMessage op = LdapMessage {
- ldapMessageId :: !Id
- ldapMessageOp :: !op
- ldapMessageControls :: !(Maybe Controls)
- newtype Id = Id {}
- data ProtocolClientOp
- = BindRequest !Int8 !LdapDn !AuthenticationChoice
- | UnbindRequest
- | SearchRequest !LdapDn !Scope !DerefAliases !Int32 !Int32 !Bool !Filter !AttributeSelection
- | ModifyRequest !LdapDn ![(Operation, PartialAttribute)]
- | AddRequest !LdapDn !AttributeList
- | DeleteRequest !LdapDn
- | ModifyDnRequest !LdapDn !RelativeLdapDn !Bool !(Maybe LdapDn)
- | CompareRequest !LdapDn !AttributeValueAssertion
- | ExtendedRequest !LdapOid !(Maybe ByteString)
- data ProtocolServerOp
- = BindResponse !LdapResult !(Maybe ByteString)
- | SearchResultEntry !LdapDn !PartialAttributeList
- | SearchResultReference !(NonEmpty Uri)
- | SearchResultDone !LdapResult
- | ModifyResponse !LdapResult
- | AddResponse !LdapResult
- | DeleteResponse !LdapResult
- | ModifyDnResponse !LdapResult
- | CompareResponse !LdapResult
- | ExtendedResponse !LdapResult !(Maybe LdapOid) !(Maybe ByteString)
- | IntermediateResponse !(Maybe LdapOid) !(Maybe ByteString)
- newtype AuthenticationChoice = Simple ByteString
- data Scope
- data DerefAliases
- data Filter
- = And (NonEmpty Filter)
- | Or (NonEmpty Filter)
- | Not Filter
- | EqualityMatch AttributeValueAssertion
- | Substrings SubstringFilter
- | GreaterOrEqual AttributeValueAssertion
- | LessOrEqual AttributeValueAssertion
- | Present AttributeDescription
- | ApproxMatch AttributeValueAssertion
- | ExtensibleMatch MatchingRuleAssertion
- data SubstringFilter = SubstringFilter AttributeDescription (NonEmpty Substring)
- data Substring
- data MatchingRuleAssertion = MatchingRuleAssertion (Maybe MatchingRuleId) (Maybe AttributeDescription) AssertionValue Bool
- newtype MatchingRuleId = MatchingRuleId LdapString
- newtype AttributeSelection = AttributeSelection [LdapString]
- newtype AttributeList = AttributeList [Attribute]
- newtype PartialAttributeList = PartialAttributeList [PartialAttribute]
- newtype Controls = Controls [Control]
- data Control = Control LdapOid Bool (Maybe ByteString)
- data LdapResult = LdapResult ResultCode LdapDn LdapString (Maybe ReferralUris)
- data ResultCode
- = Success
- | OperationError
- | ProtocolError
- | TimeLimitExceeded
- | SizeLimitExceeded
- | CompareFalse
- | CompareTrue
- | AuthMethodNotSupported
- | StrongerAuthRequired
- | Referral
- | AdminLimitExceeded
- | UnavailableCriticalExtension
- | ConfidentialityRequired
- | SaslBindInProgress
- | NoSuchAttribute
- | UndefinedAttributeType
- | InappropriateMatching
- | ConstraintViolation
- | AttributeOrValueExists
- | InvalidAttributeSyntax
- | NoSuchObject
- | AliasProblem
- | InvalidDNSyntax
- | AliasDereferencingProblem
- | InappropriateAuthentication
- | InvalidCredentials
- | InsufficientAccessRights
- | Busy
- | Unavailable
- | UnwillingToPerform
- | LoopDetect
- | NamingViolation
- | ObjectClassViolation
- | NotAllowedOnNonLeaf
- | NotAllowedOnRDN
- | EntryAlreadyExists
- | ObjectClassModsProhibited
- | AffectsMultipleDSAs
- | Other
- newtype AttributeDescription = AttributeDescription LdapString
- newtype AttributeValue = AttributeValue ByteString
- data AttributeValueAssertion = AttributeValueAssertion AttributeDescription AssertionValue
- newtype AssertionValue = AssertionValue ByteString
- data Attribute = Attribute AttributeDescription (NonEmpty AttributeValue)
- data PartialAttribute = PartialAttribute AttributeDescription [AttributeValue]
- newtype LdapDn = LdapDn LdapString
- newtype RelativeLdapDn = RelativeLdapDn LdapString
- newtype ReferralUris = ReferralUris (NonEmpty Uri)
- newtype Uri = Uri LdapString
- data Operation
- newtype LdapString = LdapString Text
- newtype LdapOid = LdapOid Text
Documentation
data LdapMessage op Source
Message envelope. (Section 4.1.1.)
Constructors
| LdapMessage | |
Fields
| |
Instances
| Eq op => Eq (LdapMessage op) Source | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Show op => Show (LdapMessage op) Source | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ToAsn1 op => ToAsn1 (LdapMessage op) Source | LDAPMessage ::= SEQUENCE {
+ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||