001package com.nimbusds.openid.connect.sdk.rp;
002
003
004/**
005 * Enumeration of OpenID Connect client application types.
006 */
007public enum ApplicationType {
008
009
010        /**
011         * Native application.
012         */
013        NATIVE,
014
015
016        /**
017         * Web application.
018         */
019        WEB;
020
021
022        /**
023         * Gets the default application type.
024         *
025         * @return {@link #WEB}
026         */
027        public static ApplicationType getDefault() {
028
029                return WEB;
030        }
031
032
033        /**
034         * Returns the string identifier of this application type.
035         *
036         * @return The string identifier.
037         */
038        @Override
039        public String toString() {
040        
041                return super.toString().toLowerCase();
042        }
043}