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 * 013 * @author Vladimir Dzhuvinov 014 */ 015public enum ClientType { 016 017 018 /** 019 * Confidential. Clients capable of maintaining the confidentiality of 020 * their credentials (e.g., client implemented on a secure server with 021 * restricted access to the client credentials), or capable of secure 022 * client authentication using other means. 023 */ 024 CONFIDENTIAL, 025 026 027 /** 028 * Public. Clients incapable of maintaining the confidentiality of their 029 * credentials (e.g., clients executing on the device used by the 030 * resource owner, such as an installed native application or a web 031 * browser-based application), and incapable of secure client 032 * authentication via any other means. 033 */ 034 PUBLIC; 035}