C# Class Hyves.Service.AuthenticationService

Represents the service APIs that allow access to information on a
显示文件 Open project: Sitecore/Hyves-network-provider-for-Sitecore-Social-Connected-1.3

Public Methods

Method Description
Revoke ( string userId ) : int

Revokes all accesstokens for user. This corresponds to the auth.revoke Hyves method.

RevokeAll ( ) : int

Revokes all accesstokens for Consumer. This corresponds to the auth.revokeAll Hyves method.

RevokeSelf ( ) : int

Revokes current accesstoken. This corresponds to the auth.revokeSelf Hyves method.

Private Methods

Method Description
AuthenticationService ( HyvesSession session ) : System

Method Details

Revoke() public method

Revokes all accesstokens for user. This corresponds to the auth.revoke Hyves method.
public Revoke ( string userId ) : int
userId string The identifier of the user.
return int

RevokeAll() public method

Revokes all accesstokens for Consumer. This corresponds to the auth.revokeAll Hyves method.
public RevokeAll ( ) : int
return int

RevokeSelf() public method

Revokes current accesstoken. This corresponds to the auth.revokeSelf Hyves method.
public RevokeSelf ( ) : int
return int