C# 클래스 Box.V2.Auth.Token.TokenExchange

Logic for token exchange.
파일 보기 프로젝트 열기: box/box-windows-sdk-v2 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
actorToken string
resourceUrl string
scope string
token string

공개 메소드들

메소드 설명
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.

메소드 상세

Exchange() 공개 메소드

Get a down scoped token.
public Exchange ( ) : string
리턴 string

SetActorToken() 공개 메소드

Set actor token.
public SetActorToken ( string actorToken ) : void
actorToken string The actor user token.
리턴 void

SetResource() 공개 메소드

Set resource.
public SetResource ( string resourceUrl ) : void
resourceUrl string The resource url.
리턴 void

TokenExchange() 공개 메소드

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.
리턴 Box.V2.Config

프로퍼티 상세

actorToken 보호되어 있는 프로퍼티

protected string actorToken
리턴 string

resourceUrl 보호되어 있는 프로퍼티

protected string resourceUrl
리턴 string

scope 보호되어 있는 프로퍼티

protected string scope
리턴 string

token 보호되어 있는 프로퍼티

protected string token
리턴 string