public class HOTPPrincipal extends Object implements Principal, Serializable
Constructor and Description |
---|
HOTPPrincipal(String name)
Public constructor that takes user name
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares the specified Object with this
HOTPPrincipal
for equality. |
String |
getName()
Returns the HOTP username for this
HOTPPrincipal . |
int |
hashCode()
Returns a hash code for this
HOTPPrincipal . |
String |
toString()
Returns a string representation of this
HOTPPrincipal . |
public HOTPPrincipal(String name)
public String getName()
HOTPPrincipal
.
public String toString()
HOTPPrincipal
.
public boolean equals(Object o)
HOTPPrincipal
for equality. Returns true if the given object is also a
HOTPPrincipal
and the two HOTPPrincipals
have the same username.
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.