mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 15:53:44 +00:00
Converted auth to identity server endpoints and utilize bearer2 access token
This commit is contained in:
19
src/App/Abstractions/Services/ITokenService.cs
Normal file
19
src/App/Abstractions/Services/ITokenService.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
|
||||
namespace Bit.App.Abstractions
|
||||
{
|
||||
public interface ITokenService
|
||||
{
|
||||
string Token { get; set; }
|
||||
string RefreshToken { get; set; }
|
||||
[Obsolete("Old auth scheme")]
|
||||
string AuthBearer { get; set; }
|
||||
DateTime TokenExpiration { get; }
|
||||
bool TokenExpired { get; }
|
||||
TimeSpan TokenTimeRemaining { get; }
|
||||
bool TokenNeedseRefresh { get; }
|
||||
string TokenUserId { get; }
|
||||
string TokenEmail { get; }
|
||||
string TokenName { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user