Client: ListenerOAuth2Handler
Isolated
Defines the OAuth2 handler for listener authentication.
Constructor
Initializes the http:ListenerOAuth2Handler
object.
init (OAuth2IntrospectionConfig config)
- config OAuth2IntrospectionConfig
The
http:OAuth2IntrospectionConfig
instance
Remote Methods
authorize | Authorizes with the relevant authentication & authorization requirements. |
authorize
function authorize(Request | Headers | string data, string | string[ ]? expectedScopes, map<string>? optionalParams) returns IntrospectionResponse | Unauthorized | Forbidden
Isolated Function
Remote Function
Authorizes with the relevant authentication & authorization requirements.
Parameters
Return Type
(IntrospectionResponse | Unauthorized | Forbidden)The oauth2:IntrospectionResponse
instance or else Unauthorized
or Forbidden
type in case of an error