final case class Authentication(rules: Seq[AuthenticationRule] = _root_.scala.Seq.empty, providers: Seq[AuthProvider] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Authentication] with Product with Serializable

Authentication defines the authentication configuration for an API.

Example for an API targeted for external use:

name: calendar.googleapis.com authentication: providers:

  • id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules:
  • selector: "*" requirements: provider_id: google_calendar_auth
rules

A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.

providers

Defines a set of authentication providers that a service supports.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Authentication], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Authentication
  2. Product
  3. Equals
  4. Updatable
  5. GeneratedMessage
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Authentication(rules: Seq[AuthenticationRule] = _root_.scala.Seq.empty, providers: Seq[AuthProvider] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...)

    rules

    A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.

    providers

    Defines a set of authentication providers that a service supports.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllProviders(__vs: Iterable[AuthProvider]): Authentication
  5. def addAllRules(__vs: Iterable[AuthenticationRule]): Authentication
  6. def addProviders(__vs: AuthProvider*): Authentication
  7. def addRules(__vs: AuthenticationRule*): Authentication
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearProviders: Authentication
  10. def clearRules: Authentication
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def companion: Authentication.type
    Definition Classes
    Authentication → GeneratedMessage
  13. def discardUnknownFields: Authentication
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Authentication → GeneratedMessage
  18. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Authentication → GeneratedMessage
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. val providers: Seq[AuthProvider]
  24. val rules: Seq[AuthenticationRule]
  25. def serializedSize: Int
    Definition Classes
    Authentication → GeneratedMessage
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  28. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  29. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  30. def toProtoString: String
    Definition Classes
    Authentication → GeneratedMessage
  31. val unknownFields: UnknownFieldSet
  32. def update(ms: (Lens[Authentication, Authentication]) ⇒ Mutation[Authentication]*): Authentication
    Definition Classes
    Updatable
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  36. def withProviders(__v: Seq[AuthProvider]): Authentication
  37. def withRules(__v: Seq[AuthenticationRule]): Authentication
  38. def withUnknownFields(__v: UnknownFieldSet): Authentication
  39. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  40. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Authentication → GeneratedMessage
  41. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Product

Inherited from Equals

Inherited from Updatable[Authentication]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped