001package com.nimbusds.openid.connect.provider.spi.reg; 002 003 004/** 005 * The type of authorisation credential used at the OAuth 2.0 client 006 * registration endpoint, for an initial registration with POST or a 007 * registration update with PUT. 008 */ 009public enum AuthorizationCredentialType { 010 011 012 /** 013 * Master access token for the registration endpoint. 014 */ 015 MASTER_TOKEN, 016 017 018 /** 019 * Regular access token issued by the Connect2id server (for some 020 * OAuth 2.0 grant) for the purpose of initial registration. 021 */ 022 INITIAL_TOKEN, 023 024 025 /** 026 * Access token issued to the client at the registration endpoint to 027 * allow the client to update its own metadata. 028 */ 029 REGISTRATION_TOKEN, 030 031 032 /** 033 * For an initial registration received without an access token when 034 * the Connect2id server is configured for open registration. 035 */ 036 OPEN 037}