C# 클래스 Box.V2.JWTAuth.JWTAuthRepository

JWT auth respository used in AdminClient aor UserClient
상속: IAuthRepository
파일 보기 프로젝트 열기: box/box-windows-sdk-v2 1 사용 예제들

공개 메소드들

메소드 설명
AuthenticateAsync ( string authCode ) : Task

Not used for this type of authentication

JWTAuthRepository ( OAuthSession session, BoxJWTAuth boxJWTAuth, string userId = null ) : Box.V2.Auth

Constructor JWT auth. repository

JWTAuthRepository ( OAuthSession session, BoxJWTAuth boxJWTAuth, string userId = null ) : System

Constructor JWT auth. repository

LogoutAsync ( ) : Task

Not used for this type of authentication

RefreshAccessTokenAsync ( string accessToken ) : Task

Retrieves a new access token using BoxJWTAuth

비공개 메소드들

메소드 설명
OnSessionAuthenticated ( OAuthSession session ) : void

메소드 상세

AuthenticateAsync() 공개 메소드

Not used for this type of authentication
public AuthenticateAsync ( string authCode ) : Task
authCode string
리턴 Task

JWTAuthRepository() 공개 메소드

Constructor JWT auth. repository
public JWTAuthRepository ( OAuthSession session, BoxJWTAuth boxJWTAuth, string userId = null ) : Box.V2.Auth
session Box.V2.Auth.OAuthSession OAuth session
boxJWTAuth BoxJWTAuth JWT authentication
userId string Id of the user
리턴 Box.V2.Auth

JWTAuthRepository() 공개 메소드

Constructor JWT auth. repository
public JWTAuthRepository ( OAuthSession session, BoxJWTAuth boxJWTAuth, string userId = null ) : System
session OAuthSession OAuth session
boxJWTAuth BoxJWTAuth JWT authentication
userId string Id of the user
리턴 System

LogoutAsync() 공개 메소드

Not used for this type of authentication
public LogoutAsync ( ) : Task
리턴 Task

RefreshAccessTokenAsync() 공개 메소드

Retrieves a new access token using BoxJWTAuth
public RefreshAccessTokenAsync ( string accessToken ) : Task
accessToken string This input is not used. Could be set to null
리턴 Task