Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: login user by attribute and password https://www.zhihu.com/cons…
- Loading branch information
Showing
4 changed files
with
43 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/main/java/com/example/keycloakspringboot/models/KeycloakUserModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.example.keycloakspringboot.models; | ||
|
||
public class KeycloakUserModel { | ||
public String id; | ||
public long createdTimestamp; | ||
public String username; | ||
public boolean enabled; | ||
public boolean totp; | ||
public boolean emailVerified; | ||
public String firstName; | ||
public String lastName; | ||
public String email; | ||
public int notBefore; | ||
} |