HyprAppProfileData
Interface HyprAppProfileData
- All Superinterfaces:
- java.io.Serializable
public interface HyprAppProfileData extends java.io.Serializable
Method Summary
All Methods Modifier and Type Method and Description voidaddRpSendHeader(android.content.Context context, java.lang.String key, java.lang.String value)Call to add to the Current Application RP Send Headers.HyprUserProfileDataaddUserProfile(android.content.Context context, java.lang.String userProfileName)Call to add a new User Profile to App Profile.java.lang.StringgetAppProfileName()HyprUserProfileDatagetCurHyprUserProfileData()Call to get the Current User Profile Data Object.java.lang.StringgetCurHyprUserProfileDataDbId()Call to get the Current User Profile DB ID.java.lang.StringgetDbId()HyprApiEndpointsgetHyprApiEndpoints()java.util.List<HyprMachineProfileData>getHyprMachineProfileDatas()Call to get the list of Machine Profile Data Objects.HyprRpAppTypegetHyprRpAppType()HyprUserProfileDatagetHyprUserProfileDataByDbId(java.lang.String dbId)Call to get a User Profile Data Object by passed in DB ID.java.util.List<HyprUserProfileData>getHyprUserProfileDatas()Call to get the list of User Profile Data Objects.intgetNegotiatedRpVersion(android.content.Context context)intgetReadTimeoutSec()Call to get the Current Application RP Read Timeout.java.util.Map<java.lang.String,java.lang.String>getRpReceiveHeaders()Call to get the Current Application RP Receive Headers.java.util.Map<java.lang.String,java.lang.String>getRpSendHeaders()Call to get the Current Application RP Send Headers.booleanisOfflineModeEnabled()Call to determine if the Offline Mode for this Machine Profile is enabled.voidresetRpAllHeaders(android.content.Context context)Call to reset the Current Application RP Send and Receive Headers.voidresetRpReceiveHeaders(android.content.Context context)Call to reset the Current Application RP Receive Headers.voidresetRpSendHeaders(android.content.Context context)Call to reset the Current Application RP Send Headers.voidsetAppProfileName(android.content.Context context, java.lang.String appProfileName)Call to change the name of the App Profile to the passed in name.voidsetBaseDomainUrl(android.content.Context context, java.lang.String domainUrl)voidsetCurHyprUserProfileDataByDbId(android.content.Context context, java.lang.String userProfileDbId)Call to set the Current User Profile Data by passed in DB ID.voidsetCustomerConfiguredDefaultRpVersion(android.content.Context context, int rpVersion)voidsetFidoClientClass(java.lang.Class fidoClientClass)voidsetFirebaseGcmSender(android.content.Context context, java.lang.String gcmSender)voidsetHyprRpAppType(android.content.Context context, HyprRpAppType hyprRpAppType)voidsetOobEnabled(android.content.Context context, boolean oobEnabled)voidsetPostOobSetupScreenEnabled(android.content.Context context, boolean isPostOobSetupScreenEnabled)voidsetPreOobSetupScreenEnabled(android.content.Context context, boolean isPreOobSetupScreenEnabled)voidsetPushAppType(android.content.Context context, HyprPushAppType pushAppType)voidsetReadTimeoutSec(android.content.Context context, int readTimeoutSec)Call to set the Current Application RP Read Timeout.voidsetRelyingPartyType(android.content.Context context, RelyingPartyType relyingPartyType)voidsetRpAppActionIdAuth(android.content.Context context, java.lang.String rpAppActionId)voidsetRpAppActionIdAuthStepUp(android.content.Context context, java.lang.String rpAppActionId)voidsetRpAppActionIdReg(android.content.Context context, java.lang.String rpAppActionId)voidsetRpAppId(android.content.Context context, java.lang.String rpAppId)voidsetRpSendHeaders(android.content.Context context, java.util.Map<java.lang.String,java.lang.String> headers)Call to set the Current Application RP Send Headers.voidsetSslEnabled(android.content.Context context, boolean sslEnabled)voidsetSslPattern(android.content.Context context, java.lang.String sslPattern)voidsetSslPins(android.content.Context context, java.util.List<java.lang.String> sslPins)voidsetStartScreenEnabled(android.content.Context context, boolean isStartScreenEnabled)
Method Detail
getDbId
@NonNull java.lang.String getDbId()
getAppProfileName
@NonNull java.lang.String getAppProfileName()
setPushAppType
void setPushAppType(@NonNull android.content.Context context, @NonNull HyprPushAppType pushAppType)
setFirebaseGcmSender
void setFirebaseGcmSender(@NonNull android.content.Context context, @NonNull java.lang.String gcmSender)
setFidoClientClass
void setFidoClientClass(@Nullable java.lang.Class fidoClientClass)
getHyprApiEndpoints
HyprApiEndpoints getHyprApiEndpoints()
setBaseDomainUrl
void setBaseDomainUrl(@NonNull android.content.Context context, @NonNull java.lang.String domainUrl)
setOobEnabled
void setOobEnabled(@NonNull android.content.Context context, boolean oobEnabled)
setSslEnabled
void setSslEnabled(@NonNull android.content.Context context, boolean sslEnabled)
setSslPins
void setSslPins(@NonNull android.content.Context context, @NonNull java.util.List<java.lang.String> sslPins)
setSslPattern
void setSslPattern(@NonNull android.content.Context context, @NonNull java.lang.String sslPattern)
setRpAppId
void setRpAppId(@NonNull android.content.Context context, @NonNull java.lang.String rpAppId)
getHyprRpAppType
HyprRpAppType getHyprRpAppType()
setHyprRpAppType
void setHyprRpAppType(@NonNull android.content.Context context, @NonNull HyprRpAppType hyprRpAppType)
setRelyingPartyType
void setRelyingPartyType(@NonNull android.content.Context context, @NonNull RelyingPartyType relyingPartyType)
setCustomerConfiguredDefaultRpVersion
void setCustomerConfiguredDefaultRpVersion(@NonNull android.content.Context context, int rpVersion)
getNegotiatedRpVersion
int getNegotiatedRpVersion(@NonNull android.content.Context context)
setRpAppActionIdReg
void setRpAppActionIdReg(@NonNull android.content.Context context, @NonNull java.lang.String rpAppActionId)
setRpAppActionIdAuth
void setRpAppActionIdAuth(@NonNull android.content.Context context, @NonNull java.lang.String rpAppActionId)
setRpAppActionIdAuthStepUp
void setRpAppActionIdAuthStepUp(@NonNull android.content.Context context, @NonNull java.lang.String rpAppActionId)
isOfflineModeEnabled
boolean isOfflineModeEnabled()
Call to determine if the Offline Mode for this Machine Profile is enabled.- Returns:
- If Offline Mode is enabled
setStartScreenEnabled
void setStartScreenEnabled(@NonNull android.content.Context context, boolean isStartScreenEnabled) throws HyprException
- Throws:
HyprException
setPreOobSetupScreenEnabled
void setPreOobSetupScreenEnabled(@NonNull android.content.Context context, boolean isPreOobSetupScreenEnabled) throws HyprException
- Throws:
HyprException
setPostOobSetupScreenEnabled
void setPostOobSetupScreenEnabled(@NonNull android.content.Context context, boolean isPostOobSetupScreenEnabled) throws HyprException
- Throws:
HyprException
getRpSendHeaders
@NonNull java.util.Map<java.lang.String,java.lang.String> getRpSendHeaders() throws HyprException
Call to get the Current Application RP Send Headers.- Returns:
- Throws:
HyprException
setRpSendHeaders
void setRpSendHeaders(@NonNull android.content.Context context, @NonNull java.util.Map<java.lang.String,java.lang.String> headers) throws HyprException
Call to set the Current Application RP Send Headers.- Parameters:
context-headers-- Throws:
HyprException
addRpSendHeader
void addRpSendHeader(@NonNull android.content.Context context, @NonNull java.lang.String key, @NonNull java.lang.String value) throws HyprException
Call to add to the Current Application RP Send Headers.- Parameters:
context-key-value-- Throws:
HyprException
resetRpSendHeaders
void resetRpSendHeaders(@NonNull android.content.Context context) throws HyprException
Call to reset the Current Application RP Send Headers.- Parameters:
context-- Throws:
HyprException
getRpReceiveHeaders
@NonNull java.util.Map<java.lang.String,java.lang.String> getRpReceiveHeaders() throws HyprException
Call to get the Current Application RP Receive Headers.- Returns:
- Throws:
HyprException
resetRpReceiveHeaders
void resetRpReceiveHeaders(@NonNull android.content.Context context) throws HyprException
Call to reset the Current Application RP Receive Headers.- Parameters:
context-- Throws:
HyprException
resetRpAllHeaders
void resetRpAllHeaders(@NonNull android.content.Context context) throws HyprException
Call to reset the Current Application RP Send and Receive Headers.- Parameters:
context-- Throws:
HyprException
getReadTimeoutSec
int getReadTimeoutSec() throws HyprException
Call to get the Current Application RP Read Timeout.- Returns:
- Throws:
HyprException
setReadTimeoutSec
void setReadTimeoutSec(@NonNull android.content.Context context, int readTimeoutSec) throws HyprException
Call to set the Current Application RP Read Timeout.- Parameters:
context-readTimeoutSec-- Throws:
HyprException
getHyprUserProfileDatas
@NonNull java.util.List<HyprUserProfileData> getHyprUserProfileDatas()
Call to get the list of User Profile Data Objects.- Returns:
- User Profile Data Objects
getHyprUserProfileDataByDbId
@NonNull HyprUserProfileData getHyprUserProfileDataByDbId(java.lang.String dbId) throws HyprException
Call to get a User Profile Data Object by passed in DB ID.- Returns:
- User Profile Data
- Throws:
HyprException- Exception thrown on failure
getCurHyprUserProfileData
@NonNull HyprUserProfileData getCurHyprUserProfileData() throws HyprException
Call to get the Current User Profile Data Object.- Returns:
- Current User Profile Data
- Throws:
HyprException- Exception thrown on failure
addUserProfile
HyprUserProfileData addUserProfile(@NonNull android.content.Context context, @NonNull java.lang.String userProfileName) throws HyprException
Call to add a new User Profile to App Profile.- Parameters:
context- ContextuserProfileName- User Profile Name- Returns:
- New User Profile Data
- Throws:
HyprException- Exception thrown on failure
setCurHyprUserProfileDataByDbId
void setCurHyprUserProfileDataByDbId(@NonNull android.content.Context context, @NonNull java.lang.String userProfileDbId) throws HyprException
Call to set the Current User Profile Data by passed in DB ID.- Parameters:
context- ContextuserProfileDbId- User Profile DB ID- Throws:
HyprException- Exception thrown on failure
getCurHyprUserProfileDataDbId
java.lang.String getCurHyprUserProfileDataDbId() throws HyprException
Call to get the Current User Profile DB ID.- Returns:
- Current User Profile DB ID
- Throws:
HyprException- Exception thrown on failure
getHyprMachineProfileDatas
@NonNull java.util.List<HyprMachineProfileData> getHyprMachineProfileDatas()
Call to get the list of Machine Profile Data Objects.- Returns:
- Machine Profile Data Objects
setAppProfileName
void setAppProfileName(@NonNull android.content.Context context, @NonNull java.lang.String appProfileName)
Call to change the name of the App Profile to the passed in name.- Parameters:
context- ContextappProfileName- Application Profile Name- Throws:
HyprException- Exception thrown on failure