Client: ListenerLdapUserStoreBasicAuthHandler
Isolated
Defines the LDAP store Basic Auth handler for listener authentication.
Constructor
Initializes the http:ListenerLdapUserStoreBasicAuthProvider
object.
init (LdapUserStoreConfig config)
- config LdapUserStoreConfig
The
http:LdapUserStoreConfig
instance
Remote Methods
authenticate | Authenticates with the relevant authentication requirements. |
authorize | Authorizes with the relevant authorization requirements. |
authenticate
function authenticate(Request | Headers | string data) returns UserDetails | Unauthorized
Isolated Function
Remote Function
Authenticates with the relevant authentication requirements.
Parameters
Return Type
(UserDetails | Unauthorized)The auth:UserDetails
instance or else Unauthorized
type in case of an error
authorize
function authorize(UserDetails userDetails, string | string[ ] expectedScopes) returns Forbidden?
Isolated Function
Remote Function
Authorizes with the relevant authorization requirements.
Parameters
- userDetails UserDetails
The auth:UserDetails
instance which is received from authentication results