C# Class Owin.PowerBIAuthenticationExtensions

Power BI Authentication Extensions
Mostra file Open project: Microsoft/PowerBI-CSharp

Public Methods

Method Description
UsePowerBIAuthentication ( this app, Action setOptions ) : IAppBuilder

Configures the application to use Azure AD with Power BI

UsePowerBIAuthentication ( this app, PowerBIAuthenticationOptions options ) : IAppBuilder

Configures the application to use Azure AD with Power BI

Private Methods

Method Description
ConfigureTokenManager ( ) : void
OnAuthorizationCodeReceived ( AuthorizationCodeReceivedNotification context, PowerBIAuthenticationOptions options ) : void
ValidateOptions ( PowerBIAuthenticationOptions options ) : void

Method Details

UsePowerBIAuthentication() public static method

Configures the application to use Azure AD with Power BI
public static UsePowerBIAuthentication ( this app, Action setOptions ) : IAppBuilder
app this The OWIN app builder
setOptions Action The action to set the authenciation options
return IAppBuilder

UsePowerBIAuthentication() public static method

Configures the application to use Azure AD with Power BI
public static UsePowerBIAuthentication ( this app, PowerBIAuthenticationOptions options ) : IAppBuilder
app this The OWIN app builder
options Microsoft.PowerBI.Owin.Security.PowerBIAuthenticationOptions The autheentication options
return IAppBuilder