This file contains hidden or 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
public class TileEmbedConfig : EmbedConfig | |
{ | |
public string dashboardId { get; set; } | |
} |
This file contains hidden or 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
public class ValuesController : ApiController | |
{ | |
private static readonly string Username = ConfigurationManager.AppSettings["pbiUsername"]; | |
private static readonly string Password = ConfigurationManager.AppSettings["pbiPassword"]; | |
private static readonly string AuthorityUrl = ConfigurationManager.AppSettings["authorityUrl"]; | |
private static readonly string ResourceUrl = ConfigurationManager.AppSettings["resourceUrl"]; | |
private static readonly string ApplicationId = ConfigurationManager.AppSettings["ApplicationId"]; | |
private static readonly string ApiUrl = ConfigurationManager.AppSettings["apiUrl"]; | |
private static readonly string WorkspaceId = ConfigurationManager.AppSettings["workspaceId"]; | |
private static readonly string ReportId = ConfigurationManager.AppSettings["reportId"]; |
This file contains hidden or 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
public class EmbedConfig | |
{ | |
public string Id { get; set; } | |
public string EmbedUrl { get; set; } | |
public EmbedToken EmbedToken { get; set; } | |
public int MinutesToExpiration | |
{ |
This file contains hidden or 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
canActivate() { | |
if ( this.authService.isLoggedIn() ) { | |
return true; | |
} | |
this.router.navigate(['/']); | |
return false; | |
} |
NewerOlder