Method | Description | |
---|---|---|
GrantClientCredentials ( OAuthGrantClientCredentialsContext context ) : System.Threading.Tasks.Task |
当客户端Id与客户端密钥验证通过后,生成在线票据令牌
|
|
GrantRefreshToken ( OAuthGrantRefreshTokenContext context ) : System.Threading.Tasks.Task |
刷新客户端令牌
|
|
GrantResourceOwnerCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : System.Threading.Tasks.Task |
验证用户名与密码,并生成在线票据令牌
|
|
OsharpAuthorizationServerProvider ( IServiceProvider serviceProvider ) : System |
初始化一个OsharpAuthorizationServerProvider类型的新实例
|
|
ValidateClientAuthentication ( Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext context ) : System.Threading.Tasks.Task |
验证请求中的客户端Id与客户端密钥的合法性
|
|
ValidateClientRedirectUri ( Microsoft.Owin.Security.OAuth.OAuthValidateClientRedirectUriContext context ) : System.Threading.Tasks.Task |
验证重定向域名是否符合当前客户端Id创建时填写的主域名
|
public GrantClientCredentials ( OAuthGrantClientCredentialsContext context ) : System.Threading.Tasks.Task | ||
context | OAuthGrantClientCredentialsContext | |
return | System.Threading.Tasks.Task |
public GrantRefreshToken ( OAuthGrantRefreshTokenContext context ) : System.Threading.Tasks.Task | ||
context | OAuthGrantRefreshTokenContext | |
return | System.Threading.Tasks.Task |
public GrantResourceOwnerCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : System.Threading.Tasks.Task | ||
context | OAuthGrantResourceOwnerCredentialsContext | |
return | System.Threading.Tasks.Task |
public OsharpAuthorizationServerProvider ( IServiceProvider serviceProvider ) : System | ||
serviceProvider | IServiceProvider | |
return | System |
public ValidateClientAuthentication ( Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext context ) : System.Threading.Tasks.Task | ||
context | Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext | |
return | System.Threading.Tasks.Task |
public ValidateClientRedirectUri ( Microsoft.Owin.Security.OAuth.OAuthValidateClientRedirectUriContext context ) : System.Threading.Tasks.Task | ||
context | Microsoft.Owin.Security.OAuth.OAuthValidateClientRedirectUriContext | |
return | System.Threading.Tasks.Task |