Add AuthorizationGrantType.toString()

This adds AuthorizationGrantType.toString() which makes debuging easier.
In particular, it will help when performing unit tests which validate the
AuthorizationGrantType.

Issue gh-16382
This commit is contained in:
Rob Winch 2025-01-17 10:58:08 -06:00
parent b0a4dcb89e
commit ab629cc1ca
No known key found for this signature in database

View File

@ -111,4 +111,9 @@ public final class AuthorizationGrantType implements Serializable {
return this.getValue().hashCode();
}
@Override
public String toString() {
return "AuthorizationGrantType{" + "value='" + this.value + '\'' + '}';
}
}