PDFix SDK  9.0.0
Loading...
Searching...
No Matches
PsAuthorization Struct Referenceabstract

PsAuthorization class. More...

#include <pdfix.h>

Inheritance diagram for PsAuthorization:
PsAccountAuthorization PsStandardAuthorization

Public Member Functions

virtual bool SaveToStream (PsStream *stream, PsDataFormat format)=0
 Save the current autorization state into a data file. .
virtual bool IsAuthorized ()=0
 Returns authorization state.
virtual bool IsAuthorizedPlatform (PdfAuthPlatform platform)=0
 Returns authorization state of the platform.
virtual bool IsAuthorizedOption (PdfAuthOption option)=0
 Returns authorization state of the version.
virtual PdfAuthorizationType GetType () const =0
 Returns authorization type.

Detailed Description

PsAuthorization class.

PsAuthorization controls the authorization state of the library.

Member Function Documentation

◆ GetType()

virtual PdfAuthorizationType PsAuthorization::GetType ( ) const
pure virtual

Returns authorization type.

Returns
authorization type.

◆ IsAuthorized()

virtual bool PsAuthorization::IsAuthorized ( )
pure virtual

Returns authorization state.

Returns
true if PDFix was authorized, false otherwise.

◆ IsAuthorizedOption()

virtual bool PsAuthorization::IsAuthorizedOption ( PdfAuthOption option)
pure virtual

Returns authorization state of the version.

Returns
true if PDFix was authorized for this option, false otherwise.

◆ IsAuthorizedPlatform()

virtual bool PsAuthorization::IsAuthorizedPlatform ( PdfAuthPlatform platform)
pure virtual

Returns authorization state of the platform.

Returns
true if PDFix was authorized for this platform, false otherwise.

◆ SaveToStream()

virtual bool PsAuthorization::SaveToStream ( PsStream * stream,
PsDataFormat format )
pure virtual

Save the current autorization state into a data file. .

Parameters
streamPsStream where to save license data in requested format.
formatFormat of the source stream. JSON and XML format is supported.
Returns
true if succeeded, false otherwise.