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

Builder for building an actor token.
Show file 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 property

Client id.
protected string clientId
return string

userId protected property

External user id.
protected string userId
return string

userName protected property

External user name.
protected string userName
return string