@@ -12,22 +12,50 @@ public IAuditEventArguments Create(Event evt)
1212 {
1313 switch ( evt )
1414 {
15- case TokenIssuedSuccessEvent tokenIssuedSuccessEvent :
16- return new TokenIssuedSuccessEventAdapter ( tokenIssuedSuccessEvent ) ;
17- case UserLoginSuccessEvent userLoginSuccess :
18- return new UserLoginSuccessEventAdapter ( userLoginSuccess ) ;
19- case UserLoginFailureEvent userLoginFailure :
20- return new UserLoginFailureEventAdapter ( userLoginFailure ) ;
21- case UserLogoutSuccessEvent userLogoutSuccess :
22- return new UserLogoutSuccessEventAdapter ( userLogoutSuccess ) ;
23- case ConsentGrantedEvent consentGranted :
24- return new ConsentGrantedEventAdapter ( consentGranted ) ;
25- case ConsentDeniedEvent consentDenied :
26- return new ConsentDeniedEventAdapter ( consentDenied ) ;
27- case TokenIssuedFailureEvent tokenIssuedFailure :
28- return new TokenIssuedFailureEventAdapter ( tokenIssuedFailure ) ;
29- case GrantsRevokedEvent grantsRevoked :
30- return new GrantsRevokedEventAdapter ( grantsRevoked ) ;
15+ case TokenIssuedSuccessEvent e :
16+ return new TokenIssuedSuccessEventAdapter ( e ) ;
17+ case UserLoginSuccessEvent e :
18+ return new UserLoginSuccessEventAdapter ( e ) ;
19+ case UserLoginFailureEvent e :
20+ return new UserLoginFailureEventAdapter ( e ) ;
21+ case UserLogoutSuccessEvent e :
22+ return new UserLogoutSuccessEventAdapter ( e ) ;
23+ case ConsentGrantedEvent e :
24+ return new ConsentGrantedEventAdapter ( e ) ;
25+ case ConsentDeniedEvent e :
26+ return new ConsentDeniedEventAdapter ( e ) ;
27+ case TokenIssuedFailureEvent e :
28+ return new TokenIssuedFailureEventAdapter ( e ) ;
29+ case GrantsRevokedEvent e :
30+ return new GrantsRevokedEventAdapter ( e ) ;
31+ case DeviceAuthorizationFailureEvent e :
32+ return new DeviceAuthorizationFailureEventAdapter ( e ) ;
33+ case DeviceAuthorizationSuccessEvent e :
34+ return new DeviceAuthorizationSuccessEventAdapter ( e ) ;
35+ case TokenRevokedSuccessEvent e :
36+ return new TokenRevokedSuccessEventAdapter ( e ) ;
37+ case InvalidClientConfigurationEvent e :
38+ return new InvalidClientConfigurationEventAdapter ( e ) ;
39+ case TokenIntrospectionFailureEvent e :
40+ return new TokenIntrospectionFailureEventAdapter ( e ) ;
41+ case TokenIntrospectionSuccessEvent e :
42+ return new TokenIntrospectionSuccessEventAdapter ( e ) ;
43+ case ClientAuthenticationFailureEvent e :
44+ return new ClientAuthenticationFailureEventAdapter ( e ) ;
45+ case ClientAuthenticationSuccessEvent e :
46+ return new ClientAuthenticationSuccessEventAdapter ( e ) ;
47+ case ApiAuthenticationFailureEvent e :
48+ return new ApiAuthenticationFailureEventAdapter ( e ) ;
49+ case ApiAuthenticationSuccessEvent e :
50+ return new ApiAuthenticationSuccessEventAdapter ( e ) ;
51+ case UnhandledExceptionEvent e :
52+ return new UnhandledExceptionEventAdapter ( e ) ;
53+ case BackchannelAuthenticationSuccessEvent e :
54+ return new BackchannelAuthenticationSuccessEventAdapter ( e ) ;
55+ case BackchannelAuthenticationFailureEvent e :
56+ return new BackchannelAuthenticationFailureEventAdapter ( e ) ;
57+ case InvalidIdentityProviderConfiguration e :
58+ return new InvalidIdentityProviderConfigurationAdapter ( e ) ;
3159 }
3260 }
3361
0 commit comments