forked from pwm-project/pwm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
profile update sms and email verification
- Loading branch information
Showing
39 changed files
with
764 additions
and
390 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
41 changes: 41 additions & 0 deletions
41
src/main/java/password/pwm/bean/TokenVerificationProgress.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,41 @@ | ||
package password.pwm.bean; | ||
|
||
import java.io.Serializable; | ||
import java.util.HashSet; | ||
import java.util.Set; | ||
|
||
public class TokenVerificationProgress implements Serializable { | ||
private Set<TokenChannel> passedTokens = new HashSet<>(); | ||
private Set<TokenChannel> issuedTokens = new HashSet<>(); | ||
private TokenChannel phase; | ||
private String tokenDisplayText; | ||
|
||
public enum TokenChannel { | ||
EMAIL, | ||
SMS, | ||
} | ||
|
||
public Set<TokenChannel> getPassedTokens() { | ||
return passedTokens; | ||
} | ||
|
||
public Set<TokenChannel> getIssuedTokens() { | ||
return issuedTokens; | ||
} | ||
|
||
public TokenChannel getPhase() { | ||
return phase; | ||
} | ||
|
||
public void setPhase(TokenChannel phase) { | ||
this.phase = phase; | ||
} | ||
|
||
public String getTokenDisplayText() { | ||
return tokenDisplayText; | ||
} | ||
|
||
public void setTokenDisplayText(String tokenDisplayText) { | ||
this.tokenDisplayText = tokenDisplayText; | ||
} | ||
} |
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
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
Oops, something went wrong.