Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/3.11.0 #292

Merged
merged 15 commits into from
Nov 14, 2023
Merged

Release/3.11.0 #292

merged 15 commits into from
Nov 14, 2023

Conversation

mehmet-yoti
Copy link
Contributor

@mehmet-yoti mehmet-yoti commented Nov 8, 2023

Added

  • Support for enable/disable mobile handoff

Example:

sdkConfig, err := NewSdkConfigBuilder().WithAllowHandOff(true).Build()
  • Support for advanced identity profile requirements for idv and share v1.

Example:

advancedIdentityProfile := []byte(`{
		"profiles": [
			{
				"trust_framework": "YOTI_GLOBAL",
				"schemes": [
					{
						"label": "LB321",
						"type": "IDENTITY",
						"objective": "AL_L1"
					}
				]
			}
		]
	}`)

// For share v1 dynamic scenario
policy, err := (&dynamic.PolicyBuilder{}).
	WithAdvancedIdentityProfileRequirements(advancedIdentityProfile).
	Build()
if err != nil {
	return err
}

scenario, err := (&dynamic.ScenarioBuilder{}).WithPolicy(policy).Build()
if err != nil {
	return err
}

// For idv
sessionSpec, err := create.NewSessionSpecificationBuilder().
	WithAdvancedIdentityProfileRequirements(advancedIdentityProfile).
	WithCreateIdentityProfilePreview(true).
	Build()
if err != nil {
	return err
}

@mehmet-yoti mehmet-yoti merged commit 7c9c611 into master Nov 14, 2023
10 checks passed
mehmet-yoti added a commit that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants