ILoopbackClient interface
LoopbackClient 介面,允許以自訂實作取代預設的迴圈伺服器。
方法詳細資料
closeServer()
function closeServer()
getRedirectUri()
function getRedirectUri(): string
傳回
string
listenForAuthCode(string, string)
function listenForAuthCode(successTemplate?: string, errorTemplate?: string): Promise<AuthorizeResponse>
參數
- successTemplate
-
string
- errorTemplate
-
string
傳回
Promise<AuthorizeResponse>