C# Class SharpOAuthProvider.Domain.Service.TokenService

Inheritance: ITokenService
Mostra file Open project: ghorsey/SharpOAuth2

Public Methods

Method Description
FindRefreshToken ( string refreshToken ) : SharpOAuth2.Provider.Domain.RefreshTokenBase
FindToken ( string token ) : IAccessToken
IssueAccessToken ( SharpOAuth2.Provider.Domain.ClientBase client ) : IToken
IssueAccessToken ( IAuthorizationGrant grant ) : IToken
IssueAccessToken ( SharpOAuth2.Provider.Domain.RefreshTokenBase refreshToken ) : IToken
IssueAccessTokenForResourceOwner ( ITokenContext context ) : IToken
TokenService ( IClientRepository clientRepo, ITokenRepository tokenRepo ) : System

Method Details

FindRefreshToken() public method

public FindRefreshToken ( string refreshToken ) : SharpOAuth2.Provider.Domain.RefreshTokenBase
refreshToken string
return SharpOAuth2.Provider.Domain.RefreshTokenBase

FindToken() public method

public FindToken ( string token ) : IAccessToken
token string
return IAccessToken

IssueAccessToken() public method

public IssueAccessToken ( SharpOAuth2.Provider.Domain.ClientBase client ) : IToken
client SharpOAuth2.Provider.Domain.ClientBase
return IToken

IssueAccessToken() public method

public IssueAccessToken ( IAuthorizationGrant grant ) : IToken
grant IAuthorizationGrant
return IToken

IssueAccessToken() public method

public IssueAccessToken ( SharpOAuth2.Provider.Domain.RefreshTokenBase refreshToken ) : IToken
refreshToken SharpOAuth2.Provider.Domain.RefreshTokenBase
return IToken

IssueAccessTokenForResourceOwner() public method

public IssueAccessTokenForResourceOwner ( ITokenContext context ) : IToken
context ITokenContext
return IToken

TokenService() public method

public TokenService ( IClientRepository clientRepo, ITokenRepository tokenRepo ) : System
clientRepo IClientRepository
tokenRepo ITokenRepository
return System