Метод | Описание | |
---|---|---|
Clear ( ) : void |
Clears the token store for all users
|
|
ReadToken ( IIdentity identity ) : string |
Reads the Power BI token for the specified identity
|
|
SetTokenReader ( string>.Func |
Sets the reader strategy for reading Power BI tokens
|
|
SetTokenWriter ( string>.Action |
Sets the writer strategy for storing Power BI tokens
|
|
WriteToken ( IIdentity identity, string accessToken ) : void |
Stores a Power BI token and associates it with the specified identity
|
Метод | Описание | |
---|---|---|
TokenManager ( ) : System |
public ReadToken ( IIdentity identity ) : string | ||
identity | IIdentity | |
Результат | string |
public SetTokenReader ( string>.Func |
||
readTokenFactory | string>.Func | The strategy expression used to read tokens |
Результат | void |
public SetTokenWriter ( string>.Action |
||
writeTokenAction | string>.Action | The strategy expression used to store tokens |
Результат | void |
public WriteToken ( IIdentity identity, string accessToken ) : void | ||
identity | IIdentity | |
accessToken | string | |
Результат | void |