Method | Description | |
---|---|---|
AuthorizationGrantService ( ITokenRepository tokenRepo, IClientRepository clientRepo ) : System | ||
ConsumeGrant ( IAuthorizationGrant grant ) : void | ||
FindAuthorizationGrant ( string authorizationCode ) : IAuthorizationGrant | ||
IssueAuthorizationGrant ( IAuthorizationContext context ) : IAuthorizationGrant | ||
ValidateGrant ( SharpOAuth2 context, IAuthorizationGrant grant ) : bool |
public AuthorizationGrantService ( ITokenRepository tokenRepo, IClientRepository clientRepo ) : System | ||
tokenRepo | ITokenRepository | |
clientRepo | IClientRepository | |
return | System |
public ConsumeGrant ( IAuthorizationGrant grant ) : void | ||
grant | IAuthorizationGrant | |
return | void |
public FindAuthorizationGrant ( string authorizationCode ) : IAuthorizationGrant | ||
authorizationCode | string | |
return | IAuthorizationGrant |
public IssueAuthorizationGrant ( IAuthorizationContext context ) : IAuthorizationGrant | ||
context | IAuthorizationContext | |
return | IAuthorizationGrant |
public ValidateGrant ( SharpOAuth2 context, IAuthorizationGrant grant ) : bool | ||
context | SharpOAuth2 | |
grant | IAuthorizationGrant | |
return | bool |