Skip to main content
All docs
V23.2
.NET 6.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

UserManager.GetAuthenticationToken<TUser>(TUser, Int32, IEnumerable<Claim>) Method

Namespace: DevExpress.ExpressApp.Security

Assembly: DevExpress.ExpressApp.Security.v23.2.dll

NuGet Package: DevExpress.ExpressApp.Security

Declaration

public string GetAuthenticationToken<TUser>(
    TUser user,
    int expirationSeconds,
    IEnumerable<Claim> additionalClaims = null
)
    where TUser : class, ISecurityUserWithLoginInfo

Parameters

Name Type
user TUser
expirationSeconds Int32

Optional Parameters

Name Type Default
additionalClaims IEnumerable<Claim> null

Type Parameters

Name
TUser

Returns

Type
String
See Also