ic-reactor
Example
GitHub
Preparing search index...
react
types
UseAuthParameters
Interface UseAuthParameters
interface
UseAuthParameters
{
onAuthentication
?:
(
promise
:
()
=>
Promise
<
types
.
Identity
>
)
=>
void
;
onAuthenticationSuccess
?:
(
identity
:
types
.
Identity
)
=>
void
;
onAuthenticationFailure
?:
(
error
:
undefined
|
string
)
=>
void
;
onLoginSuccess
?:
(
principal
:
types
.
Principal
)
=>
void
;
onLoginError
?:
(
error
:
undefined
|
string
)
=>
void
;
onLogin
?:
(
promise
:
()
=>
Promise
<
types
.
Principal
>
)
=>
void
;
onLoggedOut
?:
()
=>
void
;
}
Index
Properties
on
Authentication?
on
Authentication
Success?
on
Authentication
Failure?
on
Login
Success?
on
Login
Error?
on
Login?
on
Logged
Out?
Properties
Optional
on
Authentication
onAuthentication
?:
(
promise
:
()
=>
Promise
<
types
.
Identity
>
)
=>
void
Optional
on
Authentication
Success
onAuthenticationSuccess
?:
(
identity
:
types
.
Identity
)
=>
void
Optional
on
Authentication
Failure
onAuthenticationFailure
?:
(
error
:
undefined
|
string
)
=>
void
Optional
on
Login
Success
onLoginSuccess
?:
(
principal
:
types
.
Principal
)
=>
void
Optional
on
Login
Error
onLoginError
?:
(
error
:
undefined
|
string
)
=>
void
Optional
on
Login
onLogin
?:
(
promise
:
()
=>
Promise
<
types
.
Principal
>
)
=>
void
Optional
on
Logged
Out
onLoggedOut
?:
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
on
Authentication
on
Authentication
Success
on
Authentication
Failure
on
Login
Success
on
Login
Error
on
Login
on
Logged
Out
Example
GitHub
ic-reactor
Loading...