-
-
Notifications
You must be signed in to change notification settings - Fork 44
sharedlibrarycoreinterfaces ITokenAuthentication
RaidMax edited this page May 21, 2023
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.ITokenAuthentication[[ITokenAuthentication]]
class SharedLibraryCore.Interfaces.ITokenAuthentication interfaceStyle;
end
Returns | Name |
---|---|
bool |
AuthorizeToken (ITokenIdentifier authInfo)authorizes given token |
TokenState |
GenerateNextToken (ITokenIdentifier authInfo)generates and returns a token for the given network id |
public TokenState GenerateNextToken(ITokenIdentifier authInfo)
Type | Name | Description |
---|---|---|
ITokenIdentifier |
authInfo | auth information for next token generation |
generates and returns a token for the given network id
4 character string token
public bool AuthorizeToken(ITokenIdentifier authInfo)
Type | Name | Description |
---|---|---|
ITokenIdentifier |
authInfo | auth information |
authorizes given token
true if token authorized successfully, false otherwise
Generated with ModularDoc