All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.bloombox.schema.security.IdentityTokenIssuer Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019, Momentum Ideas, Co. All rights reserved.
 *
 * Source and object computer code contained herein is the private intellectual
 * property of Momentum Ideas Co., a Delaware Corporation. Use of this
 * code in source form requires permission in writing before use or the
 * assembly, distribution, or publishing of derivative works, for commercial
 * purposes or any other purpose, from a duly authorized officer of Momentum
 * Ideas Co.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: security/IdentityToken.proto

package io.bloombox.schema.security;

/**
 * 
 * Enumerates identity token issuers, or authorizing IdPs (Identity Providers). Internal authorization refers to systems
 * internal to Bloombox, where a system account is authorizing some resource. Otherwise, Firebase is the main auth
 * mechanism for end-users.
 * 
* * Protobuf enum {@code bloombox.security.IdentityTokenIssuer} */ public enum IdentityTokenIssuer implements com.google.protobuf.ProtocolMessageEnum { /** *
   * Internal, Bloombox-system account authentication.
   * 
* * INTERNAL = 0; */ INTERNAL(0), /** *
   * Firebase end-user authentication.
   * 
* * FIREBASE = 1; */ FIREBASE(1), /** *
   * Auth0-powered authentication.
   * 
* * AUTH0 = 2; */ AUTH0(2), /** *
   * GSuite-powered authentication.
   * 
* * GOOGLE = 3; */ GOOGLE(3), /** *
   * Second-party domain authentication, perhaps via SAML or other SSO technologies.
   * 
* * DOMAIN = 4; */ DOMAIN(4), /** *
   * External IDP-powered authentication.
   * 
* * EXTERNAL = 5; */ EXTERNAL(5), UNRECOGNIZED(-1), ; /** *
   * Internal, Bloombox-system account authentication.
   * 
* * INTERNAL = 0; */ public static final int INTERNAL_VALUE = 0; /** *
   * Firebase end-user authentication.
   * 
* * FIREBASE = 1; */ public static final int FIREBASE_VALUE = 1; /** *
   * Auth0-powered authentication.
   * 
* * AUTH0 = 2; */ public static final int AUTH0_VALUE = 2; /** *
   * GSuite-powered authentication.
   * 
* * GOOGLE = 3; */ public static final int GOOGLE_VALUE = 3; /** *
   * Second-party domain authentication, perhaps via SAML or other SSO technologies.
   * 
* * DOMAIN = 4; */ public static final int DOMAIN_VALUE = 4; /** *
   * External IDP-powered authentication.
   * 
* * EXTERNAL = 5; */ public static final int EXTERNAL_VALUE = 5; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static IdentityTokenIssuer valueOf(int value) { return forNumber(value); } public static IdentityTokenIssuer forNumber(int value) { switch (value) { case 0: return INTERNAL; case 1: return FIREBASE; case 2: return AUTH0; case 3: return GOOGLE; case 4: return DOMAIN; case 5: return EXTERNAL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< IdentityTokenIssuer> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public IdentityTokenIssuer findValueByNumber(int number) { return IdentityTokenIssuer.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.bloombox.schema.security.IdentityTokenOuterClass.getDescriptor().getEnumTypes().get(0); } private static final IdentityTokenIssuer[] VALUES = values(); public static IdentityTokenIssuer valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private IdentityTokenIssuer(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:bloombox.security.IdentityTokenIssuer) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy