class AuthApi extends CirceSchema
- Alphabetic
- By Inheritance
- AuthApi
- CirceSchema
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AuthApi(baseUrl: String)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val AnyFormat: Encoder[Any] with Decoder[Any]
- Definition Classes
- CirceSchema
- implicit val ConfigFormat: Encoder[MongoCampConfiguration]
- Definition Classes
- CirceSchema
- implicit val DateFormat: Encoder[Date] with Decoder[Date]
- Definition Classes
- CirceSchema
- implicit val DateTimeFormat: Encoder[DateTime] with Decoder[DateTime]
- Definition Classes
- CirceSchema
- implicit val MapStringAnyFormat: Encoder[Map[String, Any]] with Decoder[Map[String, Any]]
- Definition Classes
- CirceSchema
- implicit val ObjectIdFormat: Encoder[ObjectId] with Decoder[ObjectId]
- Definition Classes
- CirceSchema
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def decodeFromJson(json: Json): Any
- Definition Classes
- CirceSchema
- def encodeAnyToJson(a: Any, deepth: Int): Json
- Definition Classes
- CirceSchema
- def encodeMapStringAny(a: Map[String, Any]): Json
- Definition Classes
- CirceSchema
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def generateNewApiKey(username: String, password: String, bearerToken: String, apiKey: String)(): RequestT[Identity, Either[ResponseException[String, Error], JsonValueString], Any with Any]
Generate new ApiKey of logged in User
Generate new ApiKey of logged in User
Expected answers: code 200 : JsonValueString () code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def isAuthenticated(username: String, password: String, bearerToken: String, apiKey: String)(): RequestT[Identity, Either[ResponseException[String, Error], JsonValueBoolean], Any with Any]
Check a given Login for is authenticated
Check a given Login for is authenticated
Expected answers: code 200 : JsonValueBoolean () code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def login(login: Login): RequestT[Identity, Either[ResponseException[String, Error], LoginResult], Any with Any]
Login for one user and return Login Information
Login for one user and return Login Information
Expected answers: code 200 : LoginResult () code 400 : String (Invalid value for: body) code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
- login
Login Information for your Users
- def logout(username: String, password: String, bearerToken: String, apiKey: String)(): RequestT[Identity, Either[ResponseException[String, Error], JsonValueBoolean], Any with Any]
Logout by bearer Token
Logout by bearer Token
Expected answers: code 200 : JsonValueBoolean () code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- def logoutByDelete(username: String, password: String, bearerToken: String, apiKey: String)(): RequestT[Identity, Either[ResponseException[String, Error], JsonValueBoolean], Any with Any]
Logout by bearer Token
Logout by bearer Token
Expected answers: code 200 : JsonValueBoolean () code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def refreshToken(username: String, password: String, bearerToken: String, apiKey: String)(): RequestT[Identity, Either[ResponseException[String, Error], LoginResult], Any with Any]
Refresh Token and return Login Information
Refresh Token and return Login Information
Expected answers: code 200 : LoginResult () code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updatePassword(username: String, password: String, bearerToken: String, apiKey: String)(passwordUpdateRequest: PasswordUpdateRequest): RequestT[Identity, Either[ResponseException[String, Error], JsonValueBoolean], Any with Any]
Change Password of logged in User
Change Password of logged in User
Expected answers: code 200 : JsonValueBoolean () code 400 : String (Invalid value for: body) code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- def userProfile(username: String, password: String, bearerToken: String, apiKey: String)(): RequestT[Identity, Either[ResponseException[String, Error], UserProfile], Any with Any]
Return the User Profile of loggedin user
Return the User Profile of loggedin user
Expected answers: code 200 : UserProfile () code 0 : ErrorDescription () Headers : x-error-code - Error Code x-error-message - Message of the MongoCampException x-error-additional-info - Additional information for the MongoCampException
Available security schemes: httpAuth1 (http) httpAuth (http) apiKeyAuth (apiKey)
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)