ControllerBase.SignIn Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
SignIn(ClaimsPrincipal, AuthenticationProperties, String) |
SignInResult Membuat dengan skema autentikasi yang ditentukan dan |
SignIn(ClaimsPrincipal, AuthenticationProperties, String) |
SignInResult Membuat dengan skema autentikasi yang ditentukan dan |
SignIn(ClaimsPrincipal, String) |
SignInResult Membuat dengan skema autentikasi yang ditentukan. |
SignIn(ClaimsPrincipal, AuthenticationProperties) |
SignInResult Membuat dengan |
SignIn(ClaimsPrincipal) |
SignInResultMembuat . |
SignIn(ClaimsPrincipal, AuthenticationProperties, String)
SignInResult Membuat dengan skema autentikasi yang ditentukan dan properties
.
public:
virtual Microsoft::AspNetCore::Mvc::SignInResult ^ SignIn(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties, System::String ^ authenticationScheme);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignInResult SignIn (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties, string authenticationScheme);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string -> Microsoft.AspNetCore.Mvc.SignInResult
override this.SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties * string -> Microsoft.AspNetCore.Mvc.SignInResult
Public Overridable Function SignIn (principal As ClaimsPrincipal, properties As AuthenticationProperties, authenticationScheme As String) As SignInResult
Parameter
- principal
- ClaimsPrincipal
yang ClaimsPrincipal berisi klaim pengguna.
- properties
- AuthenticationProperties
AuthenticationProperties digunakan untuk melakukan operasi masuk.
- authenticationScheme
- String
Skema autentikasi yang digunakan untuk operasi masuk.
Mengembalikan
yang dibuat SignInResult untuk respons.
- Atribut
Berlaku untuk
SignIn(ClaimsPrincipal, AuthenticationProperties, String)
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
SignInResult Membuat dengan skema autentikasi yang ditentukan dan properties
.
public:
virtual Microsoft::AspNetCore::Mvc::SignInResult ^ SignIn(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties, System::String ^ authenticationScheme);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignInResult SignIn (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties, string authenticationScheme);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * string -> Microsoft.AspNetCore.Mvc.SignInResult
override this.SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties * string -> Microsoft.AspNetCore.Mvc.SignInResult
Public Overridable Function SignIn (principal As ClaimsPrincipal, properties As AuthenticationProperties, authenticationScheme As String) As SignInResult
Parameter
- principal
- ClaimsPrincipal
yang ClaimsPrincipal berisi klaim pengguna.
- properties
- AuthenticationProperties
AuthenticationProperties digunakan untuk melakukan operasi masuk.
- authenticationScheme
- String
Skema autentikasi yang digunakan untuk operasi masuk.
Mengembalikan
yang dibuat SignInResult untuk respons.
- Atribut
Berlaku untuk
SignIn(ClaimsPrincipal, String)
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
- Sumber:
- ControllerBase.cs
SignInResult Membuat dengan skema autentikasi yang ditentukan.
public:
virtual Microsoft::AspNetCore::Mvc::SignInResult ^ SignIn(System::Security::Claims::ClaimsPrincipal ^ principal, System::String ^ authenticationScheme);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignInResult SignIn (System.Security.Claims.ClaimsPrincipal principal, string authenticationScheme);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignIn : System.Security.Claims.ClaimsPrincipal * string -> Microsoft.AspNetCore.Mvc.SignInResult
override this.SignIn : System.Security.Claims.ClaimsPrincipal * string -> Microsoft.AspNetCore.Mvc.SignInResult
Public Overridable Function SignIn (principal As ClaimsPrincipal, authenticationScheme As String) As SignInResult
Parameter
- principal
- ClaimsPrincipal
yang ClaimsPrincipal berisi klaim pengguna.
- authenticationScheme
- String
Skema autentikasi yang digunakan untuk operasi masuk.
Mengembalikan
yang dibuat SignInResult untuk respons.
- Atribut
Berlaku untuk
SignIn(ClaimsPrincipal, AuthenticationProperties)
- Sumber:
- ControllerBase.cs
SignInResult Membuat dengan properties
.
public:
virtual Microsoft::AspNetCore::Mvc::SignInResult ^ SignIn(System::Security::Claims::ClaimsPrincipal ^ principal, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignInResult SignIn (System.Security.Claims.ClaimsPrincipal principal, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.SignInResult
override this.SignIn : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.SignInResult
Public Overridable Function SignIn (principal As ClaimsPrincipal, properties As AuthenticationProperties) As SignInResult
Parameter
- principal
- ClaimsPrincipal
yang ClaimsPrincipal berisi klaim pengguna.
- properties
- AuthenticationProperties
AuthenticationProperties digunakan untuk melakukan operasi masuk.
Mengembalikan
yang dibuat SignInResult untuk respons.
- Atribut
Berlaku untuk
SignIn(ClaimsPrincipal)
- Sumber:
- ControllerBase.cs
SignInResultMembuat .
public:
virtual Microsoft::AspNetCore::Mvc::SignInResult ^ SignIn(System::Security::Claims::ClaimsPrincipal ^ principal);
[Microsoft.AspNetCore.Mvc.NonAction]
public virtual Microsoft.AspNetCore.Mvc.SignInResult SignIn (System.Security.Claims.ClaimsPrincipal principal);
[<Microsoft.AspNetCore.Mvc.NonAction>]
abstract member SignIn : System.Security.Claims.ClaimsPrincipal -> Microsoft.AspNetCore.Mvc.SignInResult
override this.SignIn : System.Security.Claims.ClaimsPrincipal -> Microsoft.AspNetCore.Mvc.SignInResult
Public Overridable Function SignIn (principal As ClaimsPrincipal) As SignInResult
Parameter
- principal
- ClaimsPrincipal
yang ClaimsPrincipal berisi klaim pengguna.
Mengembalikan
yang dibuat SignInResult untuk respons.
- Atribut