Authentication

com.google.api.auth.Authentication
See theAuthentication companion object
final case class Authentication(rules: Seq[AuthenticationRule], providers: Seq[AuthProvider], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Authentication]

Authentication defines the authentication configuration for API methods provided by an API service.

Example:

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 - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read

Value parameters

providers

Defines a set of authentication providers that a service supports.

rules

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

Attributes

Companion
object
Source
Authentication.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
Authentication.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
Authentication.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
Authentication.scala
override def serializedSize: Int

Attributes

Definition Classes
Source
Authentication.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
Authentication.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
Authentication.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala