Interface WarlockAuthnService
-
- All Implemented Interfaces:
public interface WarlockAuthnServiceAuthentication (AuthN)
- Since:
2021-02-23
trydofor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classWarlockAuthnService.Detailspublic enumWarlockAuthnService.Jane
-
Method Summary
Modifier and Type Method Description abstract WarlockAuthnService.Detailsload(@NotNull() Enum<out Object> authType, String username)abstract WarlockAuthnService.Detailsload(@NotNull() Enum<out Object> authType, long userId)abstract WarlockAuthnService.Detailsregister(@NotNull() Enum<out Object> authType, String username, WingsAuthDetails details)create the user automatically abstract voidauth(DefaultWingsUserDetails userDetails, WarlockAuthnService.Details details)abstract voidonSuccess(@NotNull() Enum<out Object> authType, long userId, String details)abstract voidonFailure(@NotNull() Enum<out Object> authType, String username, String details)-
-
Method Detail
-
load
@Nullable() abstract WarlockAuthnService.Details load(@NotNull() Enum<out Object> authType, String username)
-
load
@Nullable() abstract WarlockAuthnService.Details load(@NotNull() Enum<out Object> authType, long userId)
-
register
@Nullable() abstract WarlockAuthnService.Details register(@NotNull() Enum<out Object> authType, String username, WingsAuthDetails details)
create the user automatically
- Parameters:
authType- authn typeusername- username to logindetails- user and auth info- Returns:
user details if success
-
auth
abstract void auth(DefaultWingsUserDetails userDetails, WarlockAuthnService.Details details)
-
onSuccess
abstract void onSuccess(@NotNull() Enum<out Object> authType, long userId, String details)
-
-
-
-