PROTOCOL
HaapiAccessor
@objc public protocol HaapiAccessor: OAuthAccessor
A HaapiManagerAccessor that contains a configured HaapiManager
and OAuthTokenManager
.
Properties
haapiManager
var haapiManager: HaapiManager
A configured HaapiManager to go through an authentication flow and obtain a OAuthAuthorizationResponseStep
that contains the authorization response.
Methods
close()
func close()
Closes the instance, which closes and frees the underlying used resources.
- Note: be sure to invoke
HaapiAccessor.close
before building a new HaapiAccessor instance for the same configuration otherwise anHaapiError.haapiTokenManagerAlreadyExists
is returned.