IAuthDetails<TId>

Namespace: ASPSecurityKit
Assembly: ASPSecurityKit.dll

Summary

Extends IAuthDetails and provides a generic interface to represent details related to identity tokens.

Generic Types
Name Description
TId The type of the identifier (entityId) that represent as keys to such entities as user, permitGroup etc.

Properties

UserId

Summary

Gets or sets the user id associated with this token. Leave it null if token isn’t associated with any user.

Value

The user id associated with this token.

PermitGroupId

Summary

Gets or sets the permit group id that can be used to load permits granted to this token. If not specified, permits are loaded for the UserId instead. Hence one of them is required.

Value

The permit group id that can be used to load permits granted to this token.

ImpersonatedUserId

Summary

Gets or sets the user id being impersonated by the user of this token. It’s used to create bound impersonated sessions.

Value

The user id being impersonated by the user of this token.