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>