Skip to content

Commit

Permalink
squash merge saml-post-bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
robotdan committed Oct 14, 2020
1 parent fbcc4b6 commit 47140f6
Show file tree
Hide file tree
Showing 8 changed files with 59 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.savant
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
savantVersion = "1.0.0"

project(group: "io.fusionauth", name: "fusionauth-netcore-client", version: "1.19.9", licenses: ["ApacheV2_0"]) {
project(group: "io.fusionauth", name: "fusionauth-netcore-client", version: "1.21.0", licenses: ["ApacheV2_0"]) {
workflow {
standard()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<RootNamespace></RootNamespace>
<PackageVersion>1.19.9</PackageVersion>
<PackageVersion>1.21.0</PackageVersion>
<AssemblyName>FusionAuth.Client.Test</AssemblyName>
<TargetFramework>netcoreapp3.1</TargetFramework>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@

namespace io.fusionauth.domain {

/**
* XML canonicalization method enumeration. This is used for the IdP and SP side of FusionAuth SAML.
*
* @author Brian Pontarelli
*/
public enum CanonicalizationMethod {
exclusive,
exclusive_with_comments,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,22 @@ public class SAMLv2Configuration: Enableable {

public string audience;

public List<string> authorizedRedirectURLs;

public string callbackURL;

public bool? debug;

public Guid? defaultVerificationKeyId;

public string issuer;

public Guid? keyId;

public string logoutURL;

public bool? requireSignedRequests;

public CanonicalizationMethod xmlSignatureC14nMethod;

public SAMLv2Configuration with(Action<SAMLv2Configuration> action) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ public class OpenIdConnectIdentityProvider: BaseIdentityProvider<OpenIdConnectAp

public IdentityProviderOauth2Configuration oauth2;

public bool? postRequest;

public OpenIdConnectIdentityProvider with(Action<OpenIdConnectIdentityProvider> action) {
action(this);
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,16 @@ public class SAMLv2IdentityProvider: BaseIdentityProvider<SAMLv2ApplicationConfi

public Guid? keyId;

public bool? postRequest;

public Guid? requestSigningKeyId;

public bool? signRequest;

public bool? useNameIdForEmail;

public CanonicalizationMethod xmlSignatureC14nMethod;

public SAMLv2IdentityProvider with(Action<SAMLv2IdentityProvider> action) {
action(this);
return this;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
* Copyright (c) 2018, FusionAuth, All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific
* language governing permissions and limitations under the License.
*/


using System.Collections.Generic;
using System;

namespace io.fusionauth.domain.provider {

/**
* Helper interface that indicates an identity provider can be federated to using the HTTP POST method.
*
* @author Brian Pontarelli
*/
public class SupportsPostBindings {

public SupportsPostBindings with(Action<SupportsPostBindings> action) {
action(this);
return this;
}
}
}
2 changes: 1 addition & 1 deletion fusionauth-netcore-client/fusionauth-netcore-client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<RootNamespace></RootNamespace>
<PackageVersion>1.19.9</PackageVersion>
<PackageVersion>1.21.0</PackageVersion>
<Title>FusionAuth .net Standard Client</Title>
<AssemblyName>FusionAuth.Client</AssemblyName>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
Expand Down

0 comments on commit 47140f6

Please sign in to comment.