Skip to content

Commit 8466bf3

Browse files
authored
Merge pull request #143 from FusionAuth/degroff/ENG-3075/vend_restrictions
degroff/eng 3075/vend restrictions
2 parents 8a266d9 + 4248065 commit 8466bf3

File tree

3 files changed

+9
-14
lines changed

3 files changed

+9
-14
lines changed

src/main/java/io/fusionauth/domain/GroupMember.java

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018-2024, FusionAuth, All Rights Reserved
2+
* Copyright (c) 2018-2025, FusionAuth, All Rights Reserved
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -38,12 +38,6 @@ public class GroupMember implements Buildable<GroupMember> {
3838

3939
public ZonedDateTime insertInstant;
4040

41-
/**
42-
* Deprecated since 1.52.0 (Aug 2024). Planned removal by end of 2024
43-
*/
44-
@Deprecated
45-
public User user;
46-
4741
public UUID userId;
4842

4943
@JacksonConstructor
@@ -56,7 +50,6 @@ public GroupMember(GroupMember member) {
5650
this.id = member.id;
5751
this.insertInstant = member.insertInstant;
5852
this.userId = member.userId;
59-
this.user = member.user == null ? null : new User(member.user);
6053
}
6154

6255
@Override
@@ -72,13 +65,12 @@ public boolean equals(Object o) {
7265
Objects.equals(groupId, that.groupId) &&
7366
Objects.equals(id, that.id) &&
7467
Objects.equals(insertInstant, that.insertInstant) &&
75-
Objects.equals(userId, that.userId) &&
76-
Objects.equals(user, that.user);
68+
Objects.equals(userId, that.userId);
7769
}
7870

7971
@Override
8072
public int hashCode() {
81-
return Objects.hash(data, groupId, id, insertInstant, userId, user);
73+
return Objects.hash(data, groupId, id, insertInstant, userId);
8274
}
8375

8476
@Override

src/main/java/io/fusionauth/domain/oauth2/GrantType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2018-2019, FusionAuth, All Rights Reserved
2+
* Copyright (c) 2018-2025, FusionAuth, All Rights Reserved
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@
2222
import com.fasterxml.jackson.annotation.JsonValue;
2323

2424
/**
25-
* Authorization Grant types as defined by the <a href="https://tools.ietf.org/html/rfc6749">The OAuth 2.0 Authorization
25+
* Authorization Grant types as defined by the <a href="https://tools.ietf.org/html/rfc6749">OAuth 2.0 Authorization
2626
* Framework - RFC 6749</a>.
2727
* <p>
2828
* Specific names as defined by <a href="https://tools.ietf.org/html/rfc7591#section-4.1">

src/main/java/io/fusionauth/domain/oauth2/OAuthError.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ public enum OAuthErrorReason {
7777
access_token_required,
7878

7979
refresh_token_not_found,
80-
refresh_token_type_not_supported,
80+
refresh_token_type_not_supported, // Deprecated
81+
id_token_invalid,
82+
unsupported_token_type,
83+
token_type_hint_mismatch,
8184

8285
// Invalid request parameters
8386
invalid_client_id,

0 commit comments

Comments
 (0)