Package com.yahoo.vespa.athenz.api
Class AthenzPrincipal
- java.lang.Object
-
- com.yahoo.vespa.athenz.api.AthenzPrincipal
-
-
Constructor Summary
Constructors Constructor Description AthenzPrincipal(AthenzIdentity athenzIdentity)
AthenzPrincipal(AthenzIdentity athenzIdentity, NToken nToken)
AthenzPrincipal(AthenzIdentity identity, List<AthenzRole> roles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
AthenzDomain
getDomain()
AthenzIdentity
getIdentity()
String
getName()
Optional<NToken>
getNToken()
List<AthenzRole>
getRoles()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
AthenzPrincipal
public AthenzPrincipal(AthenzIdentity athenzIdentity)
-
AthenzPrincipal
public AthenzPrincipal(AthenzIdentity athenzIdentity, NToken nToken)
-
AthenzPrincipal
public AthenzPrincipal(AthenzIdentity identity, List<AthenzRole> roles)
-
-
Method Detail
-
getIdentity
public AthenzIdentity getIdentity()
-
getDomain
public AthenzDomain getDomain()
-
getRoles
public List<AthenzRole> getRoles()
-
toString
public String toString()
-
equals
public boolean equals(Object o)
-
-