C# Class SharpOAuthProvider.Domain.Service.ClientService

Inheritance: IClientService
ファイルを表示 Open project: ghorsey/SharpOAuth2

Public Methods

Method Description
AuthenticateClient ( IOAuthContext context ) : bool
ClientService ( IClientRepository repo, ITokenRepository tokenRepo ) : System.Linq
FindClient ( string clientId ) : SharpOAuth2.Provider.Domain.ClientBase
IsAccessGranted ( IClient client, string scope, string resourceOwnerId ) : bool
IsClient ( IOAuthContext context ) : bool
ValidateRedirectUri ( IOAuthContext context ) : bool

Method Details

AuthenticateClient() public method

public AuthenticateClient ( IOAuthContext context ) : bool
context IOAuthContext
return bool

ClientService() public method

public ClientService ( IClientRepository repo, ITokenRepository tokenRepo ) : System.Linq
repo IClientRepository
tokenRepo ITokenRepository
return System.Linq

FindClient() public method

public FindClient ( string clientId ) : SharpOAuth2.Provider.Domain.ClientBase
clientId string
return SharpOAuth2.Provider.Domain.ClientBase

IsAccessGranted() public method

public IsAccessGranted ( IClient client, string scope, string resourceOwnerId ) : bool
client IClient
scope string
resourceOwnerId string
return bool

IsClient() public method

public IsClient ( IOAuthContext context ) : bool
context IOAuthContext
return bool

ValidateRedirectUri() public method

public ValidateRedirectUri ( IOAuthContext context ) : bool
context IOAuthContext
return bool