Uses of Class
com.postman.collection.RequestAuth
Package
Description
Encapsulates a Postman JSON collection and emulates functionality of the Postman SDK.
-
Uses of RequestAuth in com.postman.collection
Modifier and TypeMethodDescriptionCollection.getAuth()
Return the values in theauth
object property of this collection, or null if it has not been set.RequestBody.getAuth()
Get theRequestAuth
object containing the values of theauth
array, or null if it has not been set.Modifier and TypeMethodDescriptionvoid
Collection.setAuth
(RequestAuth auth) Set theauth
object property of this collection with aRequestAuth
object containing the values.void
RequestBody.setAuth
(RequestAuth auth) Set the values in theauth
array with a pre-populatedRequestAuth
object. -
Uses of RequestAuth in com.postman.collection.adapter
Modifier and TypeMethodDescriptionAuthDeserializer.deserialize
(com.google.gson.JsonElement jElement, Type typeOfT, com.google.gson.JsonDeserializationContext context) Custom GSON deserializer for theRequestAuth
object.Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
AuthSerializer.serialize
(RequestAuth src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)