C# 클래스 RicOneApi.Api.Authenticator

Contains methods to authenticate and pull data from auth server
파일 보기 프로젝트 열기: RIConeorg/API-ClientLibrary-DotNet 1 사용 예제들

공개 메소드들

메소드 설명
Authenticate ( string authUrl, string clientId, string clientSecret ) : void

Establish connection to authenticate to authentication server

GetEndpoints ( ) : List

All endpoints

GetEndpoints ( string providerId ) : List

Endpoint by specified providerId

GetToken ( ) : String

Token value

비공개 메소드들

메소드 설명
Authenticator ( ) : System
Login ( string authUrl, string clientId, string clientSecret ) : void

Post to authentication server with provided credentials

RefreshToken ( ) : void

Re-authenticates with authentication server if token is expired

메소드 상세

Authenticate() 공개 메소드

Establish connection to authenticate to authentication server
public Authenticate ( string authUrl, string clientId, string clientSecret ) : void
authUrl string
clientId string
clientSecret string
리턴 void

GetEndpoints() 공개 메소드

All endpoints
public GetEndpoints ( ) : List
리턴 List

GetEndpoints() 공개 메소드

Endpoint by specified providerId
public GetEndpoints ( string providerId ) : List
providerId string
리턴 List

GetToken() 공개 메소드

Token value
public GetToken ( ) : String
리턴 String