C# 클래스 TokenAuthentication.Infrastructure.Authentication.SimpleAuthorizationServerProvider

Implements an OAuthAuthorizationServerProvider using a custom authentication backend.
상속: Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerProvider
파일 보기 프로젝트 열기: bytefish/NancyOwinExample

공개 메소드들

메소드 설명
GrantResourceOwnerCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : System.Threading.Tasks.Task
SimpleAuthorizationServerProvider ( IAuthenticationService authService ) : System.Security.Claims
ValidateClientAuthentication ( Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext context ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
CredentialsAvailable ( OAuthGrantResourceOwnerCredentialsContext context ) : bool
GetCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : Credentials

메소드 상세

GrantResourceOwnerCredentials() 공개 메소드

public GrantResourceOwnerCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : System.Threading.Tasks.Task
context OAuthGrantResourceOwnerCredentialsContext
리턴 System.Threading.Tasks.Task

SimpleAuthorizationServerProvider() 공개 메소드

public SimpleAuthorizationServerProvider ( IAuthenticationService authService ) : System.Security.Claims
authService IAuthenticationService
리턴 System.Security.Claims

ValidateClientAuthentication() 공개 메소드

public ValidateClientAuthentication ( Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext context ) : System.Threading.Tasks.Task
context Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext
리턴 System.Threading.Tasks.Task