001package com.nimbusds.oauth2.sdk;
002
003
004/**
005 * Enumeration of the OAuth 2.0 client types.
006 *
007 * <p>Related specifications:
008 *
009 * <ul>
010 *     <li>OAuth 2.0 (RFC 6749), section 2.1.
011 * </ul>
012 */
013public enum ClientType {
014
015
016        /**
017         * Confidential. Clients capable of maintaining the confidentiality of
018         * their credentials (e.g., client implemented on a secure server with
019         * restricted access to the client credentials), or capable of secure
020         * client authentication using other means.
021         */
022        CONFIDENTIAL,
023
024
025        /**
026         * Public. Clients incapable of maintaining the confidentiality of their
027         * credentials (e.g., clients executing on the device used by the
028         * resource owner, such as an installed native application or a web
029         * browser-based application), and incapable of secure client
030         * authentication via any other means.
031         */
032        PUBLIC
033}