- Preparing search index...
- The search index is not available
git-essentials
Type alias AuthSuccessCallback
Auth
Success
Callback
: ((url
: string, auth
: Auth) => void | Promise<void>)
Type declaration
-
- (url: string, auth: Auth): void | Promise<void>
-
Returns void | Promise<void>
The callback is called when credentials work. This is helpful to know if you want to offer to save the credentials, but only if they are valid.
Example