public AuthorizationCallback(IConnectionMultiplexer muxer, HttpClient client, IOptions <ConfigOptions> options, PageFactory pageFactory)
 {
     _muxer       = muxer;
     _client      = client;
     _pageFactory = pageFactory;
     _config      = options.Value;
 }
Пример #2
0
 public Token(IConnectionMultiplexer muxer, HttpClient client, IOptions <ConfigOptions> options)
 {
     _muxer  = muxer;
     _client = client;
     _config = options.Value;
 }
Пример #3
0
 public SignInRedirect(IConnectionMultiplexer muxer, IOptions <ConfigOptions> options, PageFactory pageFactory)
 {
     _muxer       = muxer;
     _pageFactory = pageFactory;
     _config      = options.Value;
 }
Пример #4
0
 public static string GetTokenEndpoint(ConfigOptions config)
 {
     return($"https://{config.Tenant}.b2clogin.com/{config.Tenant}.onmicrosoft.com/{config.SignInPolicy}/oauth2/v2.0/token");
 }
 public DeviceAuthorization(IConnectionMultiplexer muxer, IOptions <ConfigOptions> options)
 {
     _muxer  = muxer;
     _config = options.Value;
 }