Méthode | Description | |
---|---|---|
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
|
Méthode | Description | |
---|---|---|
TokenManager ( ) : System |
public ReadToken ( IIdentity identity ) : string | ||
identity | IIdentity | |
Résultat | string |
public SetTokenReader ( string>.Func |
||
readTokenFactory | string>.Func | The strategy expression used to read tokens |
Résultat | void |
public SetTokenWriter ( string>.Action |
||
writeTokenAction | string>.Action | The strategy expression used to store tokens |
Résultat | void |
public WriteToken ( IIdentity identity, string accessToken ) : void | ||
identity | IIdentity | |
accessToken | string | |
Résultat | void |