C# Class PayPal.OpenIdConnect.Session

Show file Open project: paypal/sdk-core-dotnet

Public Methods

Method Description
GetLogoutUrl ( string redirectUri, string idToken, APIContext apiContext ) : string

Returns the URL to which the user must be redirected to logout from the OpenId provider (i.e., PayPal)

GetRedirectUrl ( string redirectUri, List scope, APIContext apiContext ) : string

Returns the PayPal URL to which the user must be redirected to start the authentication / authorization process

Method Details

GetLogoutUrl() public static method

Returns the URL to which the user must be redirected to logout from the OpenId provider (i.e., PayPal)
public static GetLogoutUrl ( string redirectUri, string idToken, APIContext apiContext ) : string
redirectUri string
idToken string
apiContext APIContext
return string

GetRedirectUrl() public static method

Returns the PayPal URL to which the user must be redirected to start the authentication / authorization process
public static GetRedirectUrl ( string redirectUri, List scope, APIContext apiContext ) : string
redirectUri string
scope List
apiContext APIContext
return string