Method | Description | |
---|---|---|
CreateReportEmbedToken ( string workspaceCollectionName, string workspaceId, string reportId, System.DateTime expiration, string username = null, IEnumerable |
Creates a embed token with default expiration used to embed Power BI components into your own applications
|
|
CreateReportEmbedToken ( string workspaceCollectionName, string workspaceId, string reportId, System.TimeSpan slidingExpiration, string username = null, IEnumerable |
Creates a embed token with default expiration used to embed Power BI components into your own applications
|
|
CreateReportEmbedToken ( string workspaceCollectionName, string workspaceId, string reportId, string username = null, IEnumerable |
Creates a embed token with default expiration used to embed Power BI components into your own applications
|
|
Generate ( string accessKey = null ) : string |
Generates an app token with the specified claims and signs it the the configured signing key.
|
|
PowerBIToken ( ) : System |
Represents an access token used to authenticate and authorize against Power BI Platform services
|
|
ToString ( ) : string |
Returns a string that represents the current object.
|
|
ToString ( string accessKey ) : string |
Returns a JWT token string that represents the current object
|
Method | Description | |
---|---|---|
InitDefaultClaims ( ) : void | ||
ValidateToken ( ) : void |
public static CreateReportEmbedToken ( string workspaceCollectionName, string workspaceId, string reportId, System.DateTime expiration, string username = null, IEnumerable |
||
workspaceCollectionName | string | The workspace collection name |
workspaceId | string | The workspace id |
reportId | string | The report id |
expiration | System.DateTime | The token expiration date/time |
username | string | The RLS username |
roles | IEnumerable |
The RLS roles |
return |
public static CreateReportEmbedToken ( string workspaceCollectionName, string workspaceId, string reportId, System.TimeSpan slidingExpiration, string username = null, IEnumerable |
||
workspaceCollectionName | string | The workspace collection name |
workspaceId | string | The workspace id |
reportId | string | The report id |
slidingExpiration | System.TimeSpan | The timespan to append to the current date/time |
username | string | The RLS username |
roles | IEnumerable |
The RLS roles |
return |
public static CreateReportEmbedToken ( string workspaceCollectionName, string workspaceId, string reportId, string username = null, IEnumerable |
||
workspaceCollectionName | string | The workspace collection name |
workspaceId | string | The workspace id |
reportId | string | The report id |
username | string | The RLS username |
roles | IEnumerable |
The RLS roles |
return |
public Generate ( string accessKey = null ) : string | ||
accessKey | string | The access key used to sign the app token |
return | string |
public ToString ( string accessKey ) : string | ||
accessKey | string | The access key used to sign the app token |
return | string |