Interface AuthFeatureAPI
- All Superinterfaces:
FeatureAPI
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic interface -
Method Summary
Modifier and TypeMethodDescriptionauth(String login, AuthMethodPassword password) exit()refreshToken(String refreshToken) default CompletableFuture<SelfUser> restoreFromExternal(AuthFeatureAPI.AuthResponse external, boolean fetchUser)
-
Method Details
-
getCurrentUser
CompletableFuture<SelfUser> getCurrentUser() -
auth
-
refreshToken
-
restore
-
restoreFromExternal
default CompletableFuture<SelfUser> restoreFromExternal(AuthFeatureAPI.AuthResponse external, boolean fetchUser) -
exit
CompletableFuture<Void> exit()
-