mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
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:
parent
b0a4dcb89e
commit
ab629cc1ca
@ -111,4 +111,9 @@ public final class AuthorizationGrantType implements Serializable {
|
|||||||
return this.getValue().hashCode();
|
return this.getValue().hashCode();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return "AuthorizationGrantType{" + "value='" + this.value + '\'' + '}';
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user