public AuthenticationTokenV1 TryCreateSessionToken(AuthenticationCredentialsV1 credentials) { var tokenPrefix = "session"; var tokenLifetimeMilliseconds = configuration.GetSessionTokenExpirationMilliseconds(); return(CreateAuthenticationTokenOrNull(tokenPrefix, credentials, tokenLifetimeMilliseconds)); }
public long GetSessionTokenExpirationMilliseconds() { return(configuration.GetSessionTokenExpirationMilliseconds()); }