Skip to content

Commit

Permalink
Add SSO authentication events
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed Mar 25, 2024
1 parent fc91eb4 commit da36218
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/common/interfaces/event.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,30 @@ export interface AuthenticationOAuthFailedEventResponse
data: AuthenticationEventResponse<'oauth'>;
}

export interface AuthenticationSSOSucceededEvent extends EventBase {
event: 'authentication.sso_succeeded';
data: AuthenticationEvent<'sso'>;
}

export interface AuthenticationSSOSucceededEventResponse
extends EventResponseBase {
event: 'authentication.sso_succeeded';
data: AuthenticationEventResponse<'sso'>;
}


export interface AuthenticationSSOFailedEvent extends EventBase {
event: 'authentication.sso_failed';
data: AuthenticationEvent<'sso'>;
}

export interface AuthenticationSSOFailedEventResponse
extends EventResponseBase {
event: 'authentication.sso_failed';
data: AuthenticationEventResponse<'sso'>;
}


export interface ConnectionActivatedEvent extends EventBase {
event: 'connection.activated';
data: Connection;
Expand Down

0 comments on commit da36218

Please sign in to comment.