C# 클래스 OfficeDevPnP.PartnerPack.Infrastructure.MicrosoftGraphHelper

파일 보기 프로젝트 열기: OfficeDev/PnP-Partner-Pack 1 사용 예제들

공개 메소드들

메소드 설명
GetAccessTokenForCurrentUser ( String resourceId = null ) : String

This helper method returns and OAuth Access Token for the current user

GetNewGraphClient ( string accessToken = null ) : GraphServiceClient

비공개 메소드들

메소드 설명
ForceOAuthChallenge ( ) : void

메소드 상세

GetAccessTokenForCurrentUser() 공개 정적인 메소드

This helper method returns and OAuth Access Token for the current user
public static GetAccessTokenForCurrentUser ( String resourceId = null ) : String
resourceId String The resourceId for which we are requesting the token
리턴 String

GetNewGraphClient() 공개 정적인 메소드

public static GetNewGraphClient ( string accessToken = null ) : GraphServiceClient
accessToken string
리턴 GraphServiceClient