次の方法で共有


RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions> コンストラクター

定義

オーバーロード

RemoteAuthenticationService<TRemoteAuthenticationState,TAccount, TProviderOptions>(IJSRuntime, IOptions<RemoteAuthenticationOptions<TProviderOptions>>, NavigationManager, AccountClaimsPrincipalFactory<TAccount>)

新しいインスタンスを初期化します。

RemoteAuthenticationService<TRemoteAuthenticationState,TAccount, TProviderOptions>(IJSRuntime, IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>, NavigationManager, AccountClaimsPrincipalFactory<TAccount>)
古い.

新しいインスタンスを初期化します。

RemoteAuthenticationService<TRemoteAuthenticationState,TAccount, TProviderOptions>(IJSRuntime, IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>, NavigationManager, AccountClaimsPrincipalFactory<TAccount>, ILogger<RemoteAuthenticationService<TRemoteAuthenticationState, TAccount,TProviderOptions>>)

新しいインスタンスを初期化します。

RemoteAuthenticationService<TRemoteAuthenticationState,TAccount, TProviderOptions>(IJSRuntime, IOptions<RemoteAuthenticationOptions<TProviderOptions>>, NavigationManager, AccountClaimsPrincipalFactory<TAccount>)

ソース:
RemoteAuthenticationService.cs
ソース:
RemoteAuthenticationService.cs

新しいインスタンスを初期化します。

public:
 RemoteAuthenticationService(Microsoft::JSInterop::IJSRuntime ^ jsRuntime, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Components::WebAssembly::Authentication::RemoteAuthenticationOptions<TProviderOptions> ^> ^ options, Microsoft::AspNetCore::Components::NavigationManager ^ navigation, Microsoft::AspNetCore::Components::WebAssembly::Authentication::AccountClaimsPrincipalFactory<TAccount> ^ accountClaimsPrincipalFactory);
public RemoteAuthenticationService (Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<TProviderOptions>> options, Microsoft.AspNetCore.Components.NavigationManager navigation, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<TAccount> accountClaimsPrincipalFactory);
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))> : Microsoft.JSInterop.IJSRuntime * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<'ProviderOptions>> * Microsoft.AspNetCore.Components.NavigationManager * Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<'Account (requires 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount)> -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))>
Public Sub New (jsRuntime As IJSRuntime, options As IOptions(Of RemoteAuthenticationOptions(Of TProviderOptions)), navigation As NavigationManager, accountClaimsPrincipalFactory As AccountClaimsPrincipalFactory(Of TAccount))

パラメーター

jsRuntime
IJSRuntime

IJSRuntime JavaScript 相互運用操作の実行に使用する 。

options
IOptions<RemoteAuthenticationOptions<TProviderOptions>>

認証操作を処理する基になる JavaScript ライブラリに渡されるオプション。

navigation
NavigationManager

NavigationManager URL の生成に使用される 。

accountClaimsPrincipalFactory
AccountClaimsPrincipalFactory<TAccount>

AccountClaimsPrincipalFactory<TAccount>ユーザーの をClaimsPrincipal生成するために使用される 。

適用対象

RemoteAuthenticationService<TRemoteAuthenticationState,TAccount, TProviderOptions>(IJSRuntime, IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>, NavigationManager, AccountClaimsPrincipalFactory<TAccount>)

ソース:
RemoteAuthenticationService.cs
ソース:
RemoteAuthenticationService.cs
ソース:
RemoteAuthenticationService.cs
ソース:
RemoteAuthenticationService.cs

注意事項

Use the constructor RemoteAuthenticationService(IJSRuntime,IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>,NavigationManager,AccountClaimsPrincipalFactory<TAccount>,ILogger<RemoteAuthenticationService<TRemoteAuthenticationState, TAccount, TProviderOptions>>) instead.

新しいインスタンスを初期化します。

public RemoteAuthenticationService (Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.Extensions.Options.IOptionsSnapshot<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<TProviderOptions>> options, Microsoft.AspNetCore.Components.NavigationManager navigation, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<TAccount> accountClaimsPrincipalFactory);
[System.Obsolete("Use the constructor RemoteAuthenticationService(IJSRuntime,IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>,NavigationManager,AccountClaimsPrincipalFactory<TAccount>,ILogger<RemoteAuthenticationService<TRemoteAuthenticationState, TAccount, TProviderOptions>>) instead.")]
public RemoteAuthenticationService (Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.Extensions.Options.IOptionsSnapshot<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<TProviderOptions>> options, Microsoft.AspNetCore.Components.NavigationManager navigation, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<TAccount> accountClaimsPrincipalFactory);
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))> : Microsoft.JSInterop.IJSRuntime * Microsoft.Extensions.Options.IOptionsSnapshot<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<'ProviderOptions>> * Microsoft.AspNetCore.Components.NavigationManager * Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<'Account (requires 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount)> -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))>
[<System.Obsolete("Use the constructor RemoteAuthenticationService(IJSRuntime,IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>,NavigationManager,AccountClaimsPrincipalFactory<TAccount>,ILogger<RemoteAuthenticationService<TRemoteAuthenticationState, TAccount, TProviderOptions>>) instead.")>]
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))> : Microsoft.JSInterop.IJSRuntime * Microsoft.Extensions.Options.IOptionsSnapshot<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<'ProviderOptions>> * Microsoft.AspNetCore.Components.NavigationManager * Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<'Account (requires 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount)> -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))>
Public Sub New (jsRuntime As IJSRuntime, options As IOptionsSnapshot(Of RemoteAuthenticationOptions(Of TProviderOptions)), navigation As NavigationManager, accountClaimsPrincipalFactory As AccountClaimsPrincipalFactory(Of TAccount))

パラメーター

jsRuntime
IJSRuntime

IJSRuntime JavaScript 相互運用操作の実行に使用する 。

options
IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>

認証操作を処理する基になる JavaScript ライブラリに渡されるオプション。

navigation
NavigationManager

NavigationManager URL の生成に使用される 。

accountClaimsPrincipalFactory
AccountClaimsPrincipalFactory<TAccount>

AccountClaimsPrincipalFactory<TAccount>ユーザーの をClaimsPrincipal生成するために使用される 。

属性

適用対象

RemoteAuthenticationService<TRemoteAuthenticationState,TAccount, TProviderOptions>(IJSRuntime, IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>, NavigationManager, AccountClaimsPrincipalFactory<TAccount>, ILogger<RemoteAuthenticationService<TRemoteAuthenticationState, TAccount,TProviderOptions>>)

ソース:
RemoteAuthenticationService.cs
ソース:
RemoteAuthenticationService.cs
ソース:
RemoteAuthenticationService.cs

新しいインスタンスを初期化します。

public RemoteAuthenticationService (Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.Extensions.Options.IOptionsSnapshot<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<TProviderOptions>> options, Microsoft.AspNetCore.Components.NavigationManager navigation, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<TAccount> accountClaimsPrincipalFactory, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>> logger);
public RemoteAuthenticationService (Microsoft.JSInterop.IJSRuntime jsRuntime, Microsoft.Extensions.Options.IOptionsSnapshot<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<TProviderOptions>> options, Microsoft.AspNetCore.Components.NavigationManager navigation, Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<TAccount> accountClaimsPrincipalFactory, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>>? logger);
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))> : Microsoft.JSInterop.IJSRuntime * Microsoft.Extensions.Options.IOptionsSnapshot<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationOptions<'ProviderOptions>> * Microsoft.AspNetCore.Components.NavigationManager * Microsoft.AspNetCore.Components.WebAssembly.Authentication.AccountClaimsPrincipalFactory<'Account (requires 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount)> * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions>> -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationService<'RemoteAuthenticationState, 'Account, 'ProviderOptions (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState and 'Account :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteUserAccount and 'ProviderOptions : (new : unit -> 'ProviderOptions))>
Public Sub New (jsRuntime As IJSRuntime, options As IOptionsSnapshot(Of RemoteAuthenticationOptions(Of TProviderOptions)), navigation As NavigationManager, accountClaimsPrincipalFactory As AccountClaimsPrincipalFactory(Of TAccount), logger As ILogger(Of RemoteAuthenticationService(Of TRemoteAuthenticationState, TAccount, TProviderOptions)))

パラメーター

jsRuntime
IJSRuntime

IJSRuntime JavaScript 相互運用操作の実行に使用する 。

options
IOptionsSnapshot<RemoteAuthenticationOptions<TProviderOptions>>

認証操作を処理する基になる JavaScript ライブラリに渡されるオプション。

navigation
NavigationManager

NavigationManager URL の生成に使用される 。

accountClaimsPrincipalFactory
AccountClaimsPrincipalFactory<TAccount>

AccountClaimsPrincipalFactory<TAccount>ユーザーの をClaimsPrincipal生成するために使用される 。

logger
ILogger<RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>>

ログイン認証操作に使用するロガー。

適用対象