Class UserLoginSuccessEvent
- Namespace
- Duende.IdentityServer.Events
- Assembly
- Duende.IdentityServer.dll
Event for successful user authentication
public class UserLoginSuccessEvent : Event
- Inheritance
-
UserLoginSuccessEvent
- Inherited Members
Constructors
UserLoginSuccessEvent()
Initializes a new instance of the UserLoginSuccessEvent class.
protected UserLoginSuccessEvent()
- See Also
UserLoginSuccessEvent(string, string, string, bool, string)
Initializes a new instance of the UserLoginSuccessEvent class.
public UserLoginSuccessEvent(string username, string subjectId, string name, bool interactive = true, string clientId = null)
Parameters
usernamestringThe username.
subjectIdstringThe subject identifier.
namestringThe name.
interactiveboolif set to
true[interactive].clientIdstringThe client id.
- See Also
UserLoginSuccessEvent(string, string, string, string, bool, string)
Initializes a new instance of the UserLoginSuccessEvent class.
public UserLoginSuccessEvent(string provider, string providerUserId, string subjectId, string name, bool interactive = true, string clientId = null)
Parameters
providerstringThe provider.
providerUserIdstringThe provider user identifier.
subjectIdstringThe subject identifier.
namestringThe name.
interactiveboolif set to
true[interactive].clientIdstringThe client id.
- See Also
Properties
ClientId
Gets or sets the client id.
public string ClientId { get; set; }
Property Value
- string
The client id.
- See Also
DisplayName
Gets or sets the display name.
public string DisplayName { get; set; }
Property Value
- string
The display name.
- See Also
Endpoint
Gets or sets the endpoint.
public string Endpoint { get; set; }
Property Value
- string
The endpoint.
- See Also
Provider
Gets or sets the provider.
public string Provider { get; set; }
Property Value
- string
The provider.
- See Also
ProviderUserId
Gets or sets the provider user identifier.
public string ProviderUserId { get; set; }
Property Value
- string
The provider user identifier.
- See Also
SubjectId
Gets or sets the subject identifier.
public string SubjectId { get; set; }
Property Value
- string
The subject identifier.
- See Also
Username
Gets or sets the username.
public string Username { get; set; }
Property Value
- string
The username.
- See Also