apidocs / com.srv4pos.server.api.infrastructure.credentials / Credentials

Credentials

interface Credentials

Interface for all Credentials.

User: Kirill, Date: 19.09.13 13:40

.

Functions

getSellerId

abstract fun getSellerId(): String!

Returns sellerId. SellerId is concatenate of seller's country and seller's corporate ID.

toAuthentication

abstract fun toAuthentication(): String!

Returns Base64 based authentication.

Inheritors

AdminCredentials

open class AdminCredentials : Credentials

Created by misha on 1/18/18.

SellerCredentials

open class SellerCredentials : Credentials

This credentials doesn't have any authentication info. SellerCredentials introduces override of getSellerId. Created by fasth on 27.08.2014.