Module
trigger.asgardeo
Module trigger.asgardeo
API
Definitions
hasithaathukorala/trigger.asgardeo
0.1.3
Overview
The ballerinax/trigger.asgardeo
module provides a Listener to grasp events triggered from your Asgardeo App. This functionality is provided by Asgardeo Events API.
Quickstart
To use the Asgardeo listener, please go the Choreo Console and create a webhook
Listeners
trigger.asgardeo: Listener
attach
Isolated Function
function attach(GenericServiceType serviceRef, () attachPoint) returns error?
detach
Isolated Function
function detach(GenericServiceType serviceRef) returns error?
Parameters
- serviceRef GenericServiceType -
'start
Isolated Function
function 'start() returns error?
gracefulStop
Isolated Function
function gracefulStop() returns error?
immediateStop
Isolated Function
function immediateStop() returns error?
Records
trigger.asgardeo: AddUserData
Fields
- organizationId int? -
- ref string? -
- organizationName string? -
- userStoreName string? -
- userOnboardMethod string? -
- userName string? -
- roleList string[]? -
- userId string? -
trigger.asgardeo: AddUserEvent
Fields
- eventData AddUserData? -
- securityData GenericSecurityData? -
trigger.asgardeo: GenericEvent
Fields
- eventData GenericUserData? -
- securityData GenericSecurityData? -
trigger.asgardeo: GenericSecurityData
Fields
- aud string? - Audience of the event.
- iss string? - Name of the issuer.
- iat int? - Issued timestamp of the event.
- jti string? - Event id.
trigger.asgardeo: GenericUserData
Fields
- organizationId int? -
- ref string? -
- organizationName string? -
- userStoreName string? -
- userName string? -
- userId string? -
trigger.asgardeo: ListenerConfig
Fields
- clientId string -
- clientSecret string -
- hubSecret string -
- organization string -
- tokenEndpointHost string -
- callbackURL string -
- hubURL string -
trigger.asgardeo: LoginSuccessData
Fields
- organizationId int? -
- ref string? -
- organizationName string? -
- userStoreName string? -
- serviceProvider string? -
- userName string? -
- userId string? -
trigger.asgardeo: LoginSuccessEvent
Fields
- eventData LoginSuccessData? -
- securityData GenericSecurityData? -
trigger.asgardeo: User
Fields
- userName string? -
- userId string? -
trigger.asgardeo: UserGroupUpdateData
Fields
- organizationId int? -
- ref string? -
- groupName string? -
- organizationName string? -
- groupId string? -
- userStoreName string? -
- removedUsers User[]? - A list of removed users from the group.
- addedUsers User[]? - A list of added users to the group.
trigger.asgardeo: UserGroupUpdateEvent
Fields
- eventData UserGroupUpdateData? -
- securityData GenericSecurityData? -
Object types
trigger.asgardeo: LoginService
onLoginSuccess
Remote Function
function onLoginSuccess(LoginSuccessEvent event) returns error?
Parameters
- event LoginSuccessEvent -
trigger.asgardeo: RegistrationService
onAddUser
Remote Function
function onAddUser(AddUserEvent event) returns error?
Parameters
- event AddUserEvent -
onConfirmSelfSignup
Remote Function
function onConfirmSelfSignup(GenericEvent event) returns error?
Parameters
- event GenericEvent -
onAcceptUserInvite
Remote Function
function onAcceptUserInvite(GenericEvent event) returns error?
Parameters
- event GenericEvent -
trigger.asgardeo: UserOperationService
onLockUser
Remote Function
function onLockUser(GenericEvent event) returns error?
Parameters
- event GenericEvent -
onUnlockUser
Remote Function
function onUnlockUser(GenericEvent event) returns error?
Parameters
- event GenericEvent -
onUpdateUserCredentials
Remote Function
function onUpdateUserCredentials(GenericEvent event) returns error?
Parameters
- event GenericEvent -
onDeleteUser
Remote Function
function onDeleteUser(GenericEvent event) returns error?
Parameters
- event GenericEvent -
onUpdateUserGroup
Remote Function
function onUpdateUserGroup(UserGroupUpdateEvent event) returns error?
Parameters
- event UserGroupUpdateEvent -
Union types
trigger.asgardeo: GenericDataType
GenericDataType
trigger.asgardeo: GenericServiceType
GenericServiceType
Import
import hasithaathukorala/trigger.asgardeo;
Metadata
Released date: about 2 years ago
Version: 0.1.3
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.1.1
GraalVM compatible: Yes
Pull count
Total: 6
Current verison: 6
Weekly downloads
Keywords
IT Operations/Authentication
Cost/Freemium
Contributors
Other versions
0.3.0
0.1.3
Dependencies
See more...