Свойство | Type | Description | |
---|---|---|---|
actorToken | string | ||
resourceUrl | string | ||
scope | string | ||
token | string |
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.
|
public SetActorToken ( string actorToken ) : void | ||
actorToken | string | The actor user token. |
Résultat | void |
public SetResource ( string resourceUrl ) : void | ||
resourceUrl | string | The resource url. |
Résultat | void |
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 |