com.nimbusds.openid.connect.sdk.claims
Class AMR
java.lang.Object
com.nimbusds.oauth2.sdk.id.Identifier
com.nimbusds.openid.connect.sdk.claims.AMR
- All Implemented Interfaces:
- net.minidev.json.JSONAware
@Immutable
public final class AMR
- extends Identifier
Authentication Method Reference (amr
). It identifies the method
used in authentication.
The AMR is represented by a string or an URL string. This class is
immutable.
Related specifications:
- OpenID Connect Messages 1.0, section 2.1.2.1.
- Author:
- Vladimir Dzhuvinov
Constructor Summary |
AMR(String value)
Creates a new Authentication Method Reference (AMR) with the
specified value. |
Method Summary |
boolean |
equals(Object object)
Overrides Object.equals() . |
AMR
public AMR(String value)
- Creates a new Authentication Method Reference (AMR) with the
specified value.
- Parameters:
value
- The AMR value. Must not be null
.
equals
public boolean equals(Object object)
- Description copied from class:
Identifier
- Overrides
Object.equals()
.
- Specified by:
equals
in class Identifier
- Parameters:
object
- The object to compare to.
- Returns:
true
if the objects have the same value, otherwise
false
.
Copyright © 2013 NimbusDS. All Rights Reserved.