C# Class Box.V2.Auth.Token.ActorTokenBuilder

Builder for building an actor token.
Exibir arquivo Open project: box/box-windows-sdk-v2

Protected Properties

Property Type Description
clientId string
userId string
userName string

Public Methods

Method Description
ActorTokenBuilder ( string userId, string clientId ) : System

Build ( ) : string

Build the actorToken.

SetUserName ( string userName ) : ActorTokenBuilder

Set external user name.

Method Details

ActorTokenBuilder() public method

public ActorTokenBuilder ( string userId, string clientId ) : System
userId string
clientId string
return System

Build() public method

Build the actorToken.
public Build ( ) : string
return string

SetUserName() public method

Set external user name.
public SetUserName ( string userName ) : ActorTokenBuilder
userName string The external user name.
return ActorTokenBuilder

Property Details

clientId protected_oe property

Client id.
protected string clientId
return string

userId protected_oe property

External user id.
protected string userId
return string

userName protected_oe property

External user name.
protected string userName
return string