public static final class ServiceProviderProto.ServiceContext extends com.google.protobuf.GeneratedMessageV3 implements ServiceProviderProto.ServiceContextOrBuilder
The service context is used to determine which identity provider to use. This context is used in conjunction with the identity context, provided by the identity provider. The two contexts require domain logic to be glued together; for example, when the service provider provides an account, we can determine the partner from that account, then match that up to an identity provider Partner context.Protobuf type
sso.v1.ServiceContext| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceProviderProto.ServiceContext.Account
Protobuf type
sso.v1.ServiceContext.Account |
static interface |
ServiceProviderProto.ServiceContext.AccountOrBuilder |
static class |
ServiceProviderProto.ServiceContext.Brand
Protobuf type
sso.v1.ServiceContext.Brand |
static interface |
ServiceProviderProto.ServiceContext.BrandOrBuilder |
static class |
ServiceProviderProto.ServiceContext.Builder
The service context is used to determine which identity provider to use.
|
static class |
ServiceProviderProto.ServiceContext.ContextCase |
static class |
ServiceProviderProto.ServiceContext.Partner
Protobuf type
sso.v1.ServiceContext.Partner |
static interface |
ServiceProviderProto.ServiceContext.PartnerOrBuilder |
static class |
ServiceProviderProto.ServiceContext.SuperAdmin
Protobuf type
sso.v1.ServiceContext.SuperAdmin |
static interface |
ServiceProviderProto.ServiceContext.SuperAdminOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ACCOUNT_FIELD_NUMBER |
static int |
BRAND_FIELD_NUMBER |
static int |
PARTNER_FIELD_NUMBER |
static int |
SUPER_ADMIN_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ACCOUNT_FIELD_NUMBER
public static final int PARTNER_FIELD_NUMBER
public static final int SUPER_ADMIN_FIELD_NUMBER
public static final int BRAND_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ServiceProviderProto.ServiceContext.ContextCase getContextCase()
getContextCase in interface ServiceProviderProto.ServiceContextOrBuilderpublic ServiceProviderProto.ServiceContext.Account getAccount()
.sso.v1.ServiceContext.Account account = 1;getAccount in interface ServiceProviderProto.ServiceContextOrBuilderpublic ServiceProviderProto.ServiceContext.AccountOrBuilder getAccountOrBuilder()
.sso.v1.ServiceContext.Account account = 1;getAccountOrBuilder in interface ServiceProviderProto.ServiceContextOrBuilderpublic ServiceProviderProto.ServiceContext.Partner getPartner()
.sso.v1.ServiceContext.Partner partner = 2;getPartner in interface ServiceProviderProto.ServiceContextOrBuilderpublic ServiceProviderProto.ServiceContext.PartnerOrBuilder getPartnerOrBuilder()
.sso.v1.ServiceContext.Partner partner = 2;getPartnerOrBuilder in interface ServiceProviderProto.ServiceContextOrBuilderpublic ServiceProviderProto.ServiceContext.SuperAdmin getSuperAdmin()
.sso.v1.ServiceContext.SuperAdmin super_admin = 3;getSuperAdmin in interface ServiceProviderProto.ServiceContextOrBuilderpublic ServiceProviderProto.ServiceContext.SuperAdminOrBuilder getSuperAdminOrBuilder()
.sso.v1.ServiceContext.SuperAdmin super_admin = 3;getSuperAdminOrBuilder in interface ServiceProviderProto.ServiceContextOrBuilderpublic ServiceProviderProto.ServiceContext.Brand getBrand()
.sso.v1.ServiceContext.Brand brand = 4;getBrand in interface ServiceProviderProto.ServiceContextOrBuilderpublic ServiceProviderProto.ServiceContext.BrandOrBuilder getBrandOrBuilder()
.sso.v1.ServiceContext.Brand brand = 4;getBrandOrBuilder in interface ServiceProviderProto.ServiceContextOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ServiceProviderProto.ServiceContext parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceProviderProto.ServiceContext parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceProviderProto.ServiceContext parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceProviderProto.ServiceContext parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceProviderProto.ServiceContext parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceProviderProto.ServiceContext parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ServiceProviderProto.ServiceContext parseFrom(InputStream input) throws IOException
IOExceptionpublic static ServiceProviderProto.ServiceContext parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServiceProviderProto.ServiceContext parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ServiceProviderProto.ServiceContext parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ServiceProviderProto.ServiceContext parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ServiceProviderProto.ServiceContext parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ServiceProviderProto.ServiceContext.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ServiceProviderProto.ServiceContext.Builder newBuilder()
public static ServiceProviderProto.ServiceContext.Builder newBuilder(ServiceProviderProto.ServiceContext prototype)
public ServiceProviderProto.ServiceContext.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ServiceProviderProto.ServiceContext.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ServiceProviderProto.ServiceContext getDefaultInstance()
public static com.google.protobuf.Parser<ServiceProviderProto.ServiceContext> parser()
public com.google.protobuf.Parser<ServiceProviderProto.ServiceContext> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ServiceProviderProto.ServiceContext getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.