@Override
    public String getId() {
        return this.token;
    }
This is {@link OneTimeTokenCredential}.

@author Misagh Moayyed
@since 5.0.0
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/credential/OneTimeTokenCredential.java