This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// PowerBITokenRequest the request to specify when generating a powerbi token | |
type PowerBITokenRequest struct { | |
AccessLevel string `json:"accessLevel"` | |
Identities []PowerBIIdentity | |
} | |
// PowerBIIdentity the identity to assume when authenticating with powerbi | |
type PowerBIIdentity struct { | |
Username int64 `json:"username"` | |
Roles []string `json:"roles"` |