Client: ListenerLdapUserStoreBasicAuthHandler
Isolated
Defines the LDAP store Basic Auth handler for listener authentication.
Constructor
Initializes the LDAP user store Basic Auth handler for listener authentication.
init (LdapUserStoreConfig config)
- config LdapUserStoreConfig
LDAP user store configurations
Remote Methods
authenticate | Authenticates with the relevant authentication requirements. |
authorize | Authorizes with the relevant authorization requirements. |
authenticate
function authenticate(map<string | string[ ]> headers) returns UserDetails | UnauthenticatedError
Isolated Function
Remote Function
Authenticates with the relevant authentication requirements.
Return Type
(UserDetails | UnauthenticatedError)The auth:UserDetails
instance or else an grpc:UnauthenticatedError
error
authorize
function authorize(UserDetails userDetails, string | string[ ] expectedScopes) returns PermissionDeniedError?
Isolated Function
Remote Function
Authorizes with the relevant authorization requirements.
Parameters
- userDetails UserDetails
The auth:UserDetails
instance which is received from authentication results
Return Type
(PermissionDeniedError?)()
, if it is successful or else a grpc:PermissionDeniedError
error