C# Class OSharp.Core.Security.OsharpRefreshTokenProvider

Osharp-RefreshToken提供者
Inheritance: Microsoft.Owin.Security.Infrastructure.AuthenticationTokenProvider, IRefreshTokenProvider
Afficher le fichier Open project: i66soft/osharp

Méthodes publiques

Méthode Description
CreateAsync ( Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext context ) : System.Threading.Tasks.Task

创建RefreshToken,在客户端请求AccessToken的时候自动调用

OsharpRefreshTokenProvider ( IOAuthClientRefreshTokenStore clientRefreshTokenStore ) : System

初始化一个OsharpRefreshTokenProvider类型的新实例

ReceiveAsync ( Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext context ) : System.Threading.Tasks.Task

移除RefreshToken,在客户端使用RefreshToken请求新的AccessToken的时候自动调用

Method Details

CreateAsync() public méthode

创建RefreshToken,在客户端请求AccessToken的时候自动调用
public CreateAsync ( Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext context ) : System.Threading.Tasks.Task
context Microsoft.Owin.Security.Infrastructure.AuthenticationTokenCreateContext
Résultat System.Threading.Tasks.Task

OsharpRefreshTokenProvider() public méthode

初始化一个OsharpRefreshTokenProvider类型的新实例
public OsharpRefreshTokenProvider ( IOAuthClientRefreshTokenStore clientRefreshTokenStore ) : System
clientRefreshTokenStore IOAuthClientRefreshTokenStore
Résultat System

ReceiveAsync() public méthode

移除RefreshToken,在客户端使用RefreshToken请求新的AccessToken的时候自动调用
public ReceiveAsync ( Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext context ) : System.Threading.Tasks.Task
context Microsoft.Owin.Security.Infrastructure.AuthenticationTokenReceiveContext
Résultat System.Threading.Tasks.Task