C# Class withSIX.Mini.Infra.Data.Services.OauthConnect

Inheritance: IInfrastructureService, IOauthConnect
Datei anzeigen Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
GetAuthorization ( Uri tokenEndpoint, Uri callbackUrl, string code, string clientId, string clientSecret, string>.Dictionary additionalValues = null ) : Task
GetResponse ( Uri callbackUri, Uri currentUri ) : IdentityModel.Client.AuthorizeResponse
GetUserInfo ( Uri userInfoEndpoint, string accessToken ) : Task
RefreshToken ( Uri tokenEndpoint, string refreshToken, string clientId, string clientSecret, string>.Dictionary additionalValues = null ) : Task

Private Methods

Method Description
GetOAuthClient ( Uri endpoint, string clientId, string clientSecret ) : IdentityModel.Client.TokenClient

Method Details

GetAuthorization() public method

public GetAuthorization ( Uri tokenEndpoint, Uri callbackUrl, string code, string clientId, string clientSecret, string>.Dictionary additionalValues = null ) : Task
tokenEndpoint System.Uri
callbackUrl System.Uri
code string
clientId string
clientSecret string
additionalValues string>.Dictionary
return Task

GetResponse() public method

public GetResponse ( Uri callbackUri, Uri currentUri ) : IdentityModel.Client.AuthorizeResponse
callbackUri System.Uri
currentUri System.Uri
return IdentityModel.Client.AuthorizeResponse

GetUserInfo() public method

public GetUserInfo ( Uri userInfoEndpoint, string accessToken ) : Task
userInfoEndpoint System.Uri
accessToken string
return Task

RefreshToken() public method

public RefreshToken ( Uri tokenEndpoint, string refreshToken, string clientId, string clientSecret, string>.Dictionary additionalValues = null ) : Task
tokenEndpoint System.Uri
refreshToken string
clientId string
clientSecret string
additionalValues string>.Dictionary
return Task