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

Logic for token exchange.
Afficher le fichier Open project: box/box-windows-sdk-v2 Class Usage Examples

Protected Properties

Свойство Type Description
actorToken string
resourceUrl string
scope string
token string

Méthodes publiques

Méthode Description
Exchange ( ) : string

Get a down scoped token.

SetActorToken ( string actorToken ) : void

Set actor token.

SetResource ( string resourceUrl ) : void

Set resource.

TokenExchange ( string token, string scope ) : Box.V2.Config

Initializes a new instance of the TokenExchange class.

Method Details

Exchange() public méthode

Get a down scoped token.
public Exchange ( ) : string
Résultat string

SetActorToken() public méthode

Set actor token.
public SetActorToken ( string actorToken ) : void
actorToken string The actor user token.
Résultat void

SetResource() public méthode

Set resource.
public SetResource ( string resourceUrl ) : void
resourceUrl string The resource url.
Résultat void

TokenExchange() public méthode

Initializes a new instance of the TokenExchange class.
public TokenExchange ( string token, string scope ) : Box.V2.Config
token string The access token.
scope string The scope to be limited to.
Résultat Box.V2.Config

Property Details

actorToken protected_oe property

protected string actorToken
Résultat string

resourceUrl protected_oe property

protected string resourceUrl
Résultat string

scope protected_oe property

protected string scope
Résultat string

token protected_oe property

protected string token
Résultat string