All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nimbusds.openid.connect.sdk.claims.AMR Maven / Gradle / Ivy

package com.nimbusds.openid.connect.sdk.claims;


import net.jcip.annotations.Immutable;

import com.nimbusds.oauth2.sdk.id.Identifier;


/**
 * Authentication Method Reference ({@code amr}). It identifies the method
 * used in authentication.
 *
 * 

The AMR is represented by a string or an URI string. * *

Related specifications: * *

    *
  • OpenID Connect Core 1.0, section 2. *
*/ @Immutable public final class AMR extends Identifier { /** * Creates a new Authentication Method Reference (AMR) with the * specified value. * * @param value The AMR value. Must not be {@code null}. */ public AMR(final String value) { super(value); } @Override public boolean equals(final Object object) { return object instanceof AMR && this.toString().equals(object.toString()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy